public class FacetImpl extends ComponentImpl implements XSFacet
| Modifier and Type | Field and Description |
|---|---|
private boolean |
fixed |
private java.lang.String |
name |
private XmlString |
value |
ownerDocumentFACET_ENUMERATION, FACET_FRACTIONDIGITS, FACET_LENGTH, FACET_MAXEXCLUSIVE, FACET_MAXINCLUSIVE, FACET_MAXLENGTH, FACET_MINEXCLUSIVE, FACET_MININCLUSIVE, FACET_MINLENGTH, FACET_PATTERN, FACET_TOTALDIGITS, FACET_WHITESPACE| Constructor and Description |
|---|
FacetImpl(SchemaDocumentImpl owner,
AnnotationImpl _annon,
org.xml.sax.Locator _loc,
ForeignAttributesImpl _fa,
java.lang.String _name,
XmlString _value,
boolean _fixed) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
apply(XSFunction function)
Accepts a functor.
|
java.lang.String |
getName()
Gets the name of the facet, such as "length".
|
XmlString |
getValue()
Gets the value of the facet.
|
boolean |
isFixed()
Returns true if this facet is "fixed".
|
void |
visit(XSVisitor visitor)
Accepts a visitor.
|
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingleprivate final java.lang.String name
private final XmlString value
private boolean fixed
public FacetImpl(SchemaDocumentImpl owner, AnnotationImpl _annon, org.xml.sax.Locator _loc, ForeignAttributesImpl _fa, java.lang.String _name, XmlString _value, boolean _fixed)
public java.lang.String getName()
XSFacetpublic XmlString getValue()
XSFacetpublic boolean isFixed()
XSFacetpublic void visit(XSVisitor visitor)
XSComponentvisit in interface XSComponentpublic java.lang.Object apply(XSFunction function)
XSComponentapply in interface XSComponent