FileDocCategorySizeDatePackage
XSFacet.javaAPI DocApache Xerces 3.0.11779Fri Sep 14 20:33:52 BST 2007org.apache.xerces.xs

XSFacet

public interface XSFacet implements XSObject
Describes a constraining facet. Enumeration and pattern facets are exposed via XSMultiValueFacet interface.

Fields Summary
Constructors Summary
Methods Summary
public XSAnnotationgetAnnotation()
An annotation if it exists, otherwise null. If not null then the first [annotation] from the sequence of annotations.

public XSObjectListgetAnnotations()
A sequence of [annotations] or an empty XSObjectList.

public shortgetFacetKind()
The name of the facet, e.g. FACET_LENGTH, FACET_TOTALDIGITS (see XSSimpleTypeDefinition).

public booleangetFixed()
[Facets]: check whether a facet is fixed.

public java.lang.StringgetLexicalFacetValue()
A value of this facet.