org.jbind.xml.schema.element
Interface IFacet

All Superinterfaces:
IAnnotated, IElement, IHasBindingAttributes, IHasLocation, INode, IOpenAttributes, IParent, ISourceInfo, IXmlElement, IXmlNode
All Known Implementing Classes:
Facet

public interface IFacet
extends IAnnotated


Method Summary
 void apply(ISimpleType aType, IConstraints aConstraints, IConstraintViolations aViolations)
          Applies the facet on the specified constraints.
 boolean getFixed()
           
 java.lang.String getValue()
           
 
Methods inherited from interface org.jbind.xml.schema.element.IAnnotated
getAnnotationElement, getId
 
Methods inherited from interface org.jbind.xml.schema.element.IOpenAttributes
getAttributeString
 
Methods inherited from interface org.jbind.xml.schema.element.IElement
addAttribute, createChild, getQName, getSchema, getSchemaDocument, getSubElement, isTopLevelComponent, iterChildrenByClass, validateElement
 
Methods inherited from interface org.jbind.xml.schema.element.IParent
addChild, hasChildren, iterChildren
 
Methods inherited from interface org.jbind.xml.schema.element.INode
getParent_, setLocation, setParent_
 
Methods inherited from interface org.jbind.xml.base.IHasLocation
getLocation
 
Methods inherited from interface org.jbind.xml.core.cmp.IXmlNode
acceptAppInfoVisitor
 
Methods inherited from interface org.jbind.xml.base.IHasBindingAttributes
getBindingAttribute, getDefaultedLocalBindingAttribute, getDefaultedLocalStringBindingAttribute, getLocalBindingAttribute, getLocalStringBindingAttribute, getStringBindingAttribute
 
Methods inherited from interface org.jbind.xml.core.cmp.ISourceInfo
getAnnotation, getPrefixToNamespaceMapping
 
Methods inherited from interface org.jbind.xml.core.cmp.IXmlElement
getAttributes, iterXmlNodes
 

Method Detail

getValue

public java.lang.String getValue()

getFixed

public boolean getFixed()

apply

public void apply(ISimpleType aType,
                  IConstraints aConstraints,
                  IConstraintViolations aViolations)
Applies the facet on the specified constraints. In order to apply a facet often its string value must be converted into a data object. This conversion is done by the supplied type.

Parameters:
aType - (required).
aViolations - (required)