XSComponent, XSFacetpublic class FacetImpl extends ComponentImpl implements XSFacet
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 | 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 | 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, selectSinglepublic 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 XSComponentCopyright © 2018 Oracle Corporation. All rights reserved.