public interface

XSFacet

implements XSObject
org.apache.xerces.xs.XSFacet

Class Overview

Describes a constraining facet. Enumeration and pattern facets are exposed via XSMultiValueFacet interface.

Summary

Public Methods
abstract XSAnnotation getAnnotation()
An annotation if it exists, otherwise null.
abstract XSObjectList getAnnotations()
A sequence of [annotations] or an empty XSObjectList.
abstract short getFacetKind()
The name of the facet, e.g.
abstract boolean getFixed()
[Facets]: check whether a facet is fixed.
abstract String getLexicalFacetValue()
A value of this facet.
[Expand]
Inherited Methods
From interface org.apache.xerces.xs.XSObject

Public Methods

public abstract XSAnnotation getAnnotation ()

An annotation if it exists, otherwise null. If not null then the first [annotation] from the sequence of annotations.

public abstract XSObjectList getAnnotations ()

A sequence of [annotations] or an empty XSObjectList.

public abstract short getFacetKind ()

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

public abstract boolean getFixed ()

[Facets]: check whether a facet is fixed.

public abstract String getLexicalFacetValue ()

A value of this facet.