public class FacetImpl extends ComponentImpl implements XSFacet
ownerDocument
FACET_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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle
public FacetImpl(SchemaDocumentImpl owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, String _name, XmlString _value, boolean _fixed)
public String getName()
XSFacet
public XmlString getValue()
XSFacet
public boolean isFixed()
XSFacet
public void visit(XSVisitor visitor)
XSComponent
visit
in interface XSComponent
public Object apply(XSFunction function)
XSComponent
apply
in interface XSComponent
Copyright © 2021 JBoss by Red Hat. All rights reserved.