Class FacetImpl
java.lang.Object
com.sun.xml.xsom.impl.ComponentImpl
com.sun.xml.xsom.impl.FacetImpl
- All Implemented Interfaces:
XSComponent, XSFacet
-
Field Summary
FieldsFields inherited from class ComponentImpl
ownerDocumentFields inherited from interface XSFacet
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 Summary
ConstructorsConstructorDescriptionFacetImpl(SchemaDocumentImpl owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, String _name, XmlString _value, boolean _fixed) -
Method Summary
Modifier and TypeMethodDescriptionapply(XSFunction function) Accepts a functor.getName()Gets the name of the facet, such as "length".getValue()Gets the value of the facet.booleanisFixed()Returns true if this facet is "fixed".voidAccepts a visitor.Methods inherited from class ComponentImpl
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface XSComponent
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle
-
Field Details
-
name
-
value
-
fixed
private boolean fixed
-
-
Constructor Details
-
FacetImpl
public FacetImpl(SchemaDocumentImpl owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, String _name, XmlString _value, boolean _fixed)
-
-
Method Details
-
getName
-
getValue
-
isFixed
-
visit
Description copied from interface:XSComponentAccepts a visitor.- Specified by:
visitin interfaceXSComponent
-
apply
Description copied from interface:XSComponentAccepts a functor.- Specified by:
applyin interfaceXSComponent
-