public 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 and Description |
|---|
FacetImpl(SchemaDocumentImpl owner,
AnnotationImpl _annon,
Locator _loc,
ForeignAttributesImpl _fa,
String _name,
XmlString _value,
boolean _fixed) |
| Modifier and Type | Method and Description |
|---|---|
Object |
apply(XSFunction function)
Accepts a functor.
|
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, Locator _loc, ForeignAttributesImpl _fa, String _name, XmlString _value, boolean _fixed)
public String getName()
XSFacetpublic XmlString getValue()
XSFacetpublic boolean isFixed()
XSFacetpublic void visit(XSVisitor visitor)
XSComponentvisit in interface XSComponentpublic Object apply(XSFunction function)
XSComponentapply in interface XSComponentCopyright © 2005–2017 Oracle Corporation. All rights reserved.