com.sun.xml.xsom.impl
Class FacetImpl
java.lang.Object
com.sun.xml.xsom.impl.ComponentImpl
com.sun.xml.xsom.impl.FacetImpl
- All Implemented Interfaces:
- XSComponent, XSFacet
public class FacetImpl
- extends ComponentImpl
- implements XSFacet
Fields inherited from interface com.sun.xml.xsom.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 |
Methods inherited from class com.sun.xml.xsom.impl.ComponentImpl |
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toString |
FacetImpl
public FacetImpl(SchemaDocumentImpl owner,
AnnotationImpl _annon,
Locator _loc,
ForeignAttributesImpl _fa,
String _name,
XmlString _value,
boolean _fixed)
getName
public String getName()
- Description copied from interface:
XSFacet
- Gets the name of the facet, such as "length".
- Specified by:
getName
in interface XSFacet
getValue
public XmlString getValue()
- Description copied from interface:
XSFacet
- Gets the value of the facet.
- Specified by:
getValue
in interface XSFacet
isFixed
public boolean isFixed()
- Description copied from interface:
XSFacet
- Returns true if this facet is "fixed".
- Specified by:
isFixed
in interface XSFacet
visit
public void visit(XSVisitor visitor)
- Description copied from interface:
XSComponent
- Accepts a visitor.
- Specified by:
visit
in interface XSComponent
apply
public Object apply(XSFunction function)
- Description copied from interface:
XSComponent
- Accepts a functor.
- Specified by:
apply
in interface XSComponent
Copyright © 2012 Oracle. All Rights Reserved.