org.apache.xerces.xs.XSSimpleTypeDefinition |
Known Indirect Subclasses |
This interface represents the Simple Type Definition schema component. This
interface provides several query operations for facet components. Users
can either retrieve the defined facets as XML Schema components, using
the facets
and the multiValueFacets
attributes;
or users can separately query a facet's properties using methods such as
getLexicalFacetValue
, isFixedFacet
, etc.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
short | FACET_ENUMERATION | 4.3.5 enumeration. | |||||||||
short | FACET_FRACTIONDIGITS | 4.3.12 fractionDigits. | |||||||||
short | FACET_LENGTH | 4.3.1 Length | |||||||||
short | FACET_MAXEXCLUSIVE | 4.3.9 maxExclusive. | |||||||||
short | FACET_MAXINCLUSIVE | 4.3.7 maxInclusive. | |||||||||
short | FACET_MAXLENGTH | 4.3.3 maxLength. | |||||||||
short | FACET_MINEXCLUSIVE | 4.3.9 minExclusive. | |||||||||
short | FACET_MININCLUSIVE | 4.3.10 minInclusive. | |||||||||
short | FACET_MINLENGTH | 4.3.2 minLength. | |||||||||
short | FACET_NONE | No facets defined. | |||||||||
short | FACET_PATTERN | 4.3.4 pattern. | |||||||||
short | FACET_TOTALDIGITS | 4.3.11 totalDigits . | |||||||||
short | FACET_WHITESPACE | 4.3.5 whitespace. | |||||||||
short | ORDERED_FALSE | A constant defined for the 'ordered' fundamental facet: not ordered. | |||||||||
short | ORDERED_PARTIAL | A constant defined for the 'ordered' fundamental facet: partially ordered. | |||||||||
short | ORDERED_TOTAL | A constant defined for the 'ordered' fundamental facet: total ordered. | |||||||||
short | VARIETY_ABSENT | The variety is absent for the anySimpleType definition. | |||||||||
short | VARIETY_ATOMIC | Atomic type. |
|||||||||
short | VARIETY_LIST | List type. |
|||||||||
short | VARIETY_UNION | Union type. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.apache.xerces.xs.XSTypeDefinition
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
A sequence of [annotations] or an empty
XSObjectList . | |||||||||||
Fundamental Facet: bounded.
| |||||||||||
Returns the closest built-in type category this type represents or
derived from.
| |||||||||||
[facets]: all facets defined on this type.
| |||||||||||
A list of constraining facets if it exists, otherwise an empty
XSObjectList . | |||||||||||
Fundamental Facet: cardinality.
| |||||||||||
[facets]: all defined facets for this type which are fixed.
| |||||||||||
If variety is
list the item type definition (an atomic or
union simple type definition) is available, otherwise
null . | |||||||||||
A list of enumeration values if it exists, otherwise an empty
StringList . | |||||||||||
Convenience method.
| |||||||||||
A list of pattern values if it exists, otherwise an empty
StringList . | |||||||||||
If variety is
union the list of member type definitions (a
non-empty sequence of simple type definitions) is available,
otherwise an empty XSObjectList . | |||||||||||
A list of enumeration and pattern constraining facets if it exists,
otherwise an empty
XSObjectList . | |||||||||||
Fundamental Facet: numeric.
| |||||||||||
Fundamental Facet: ordered.
| |||||||||||
If variety is
atomic the primitive type definition (a
built-in primitive datatype definition or the simple ur-type
definition) is available, otherwise null . | |||||||||||
[variety]: one of {atomic, list, union} or absent.
| |||||||||||
Convenience method.
| |||||||||||
Convenience method.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.apache.xerces.xs.XSObject
| |||||||||||
From interface
org.apache.xerces.xs.XSTypeDefinition
|
4.3.5 enumeration.
4.3.12 fractionDigits.
4.3.1 Length
4.3.9 maxExclusive.
4.3.7 maxInclusive.
4.3.3 maxLength.
4.3.9 minExclusive.
4.3.10 minInclusive.
4.3.2 minLength.
No facets defined.
4.3.4 pattern.
4.3.11 totalDigits .
4.3.5 whitespace.
A constant defined for the 'ordered' fundamental facet: not ordered.
A constant defined for the 'ordered' fundamental facet: partially ordered.
A constant defined for the 'ordered' fundamental facet: total ordered.
The variety is absent for the anySimpleType definition.
Atomic
type.
List
type.
Union
type.
A sequence of [annotations] or an empty XSObjectList
.
Fundamental Facet: bounded.
Returns the closest built-in type category this type represents or
derived from. For example, if this simple type is a built-in derived
type integer the INTEGER_DV
is returned.
[facets]: all facets defined on this type. The value is a bit combination of FACET_XXX constants of all defined facets.
A list of constraining facets if it exists, otherwise an empty
XSObjectList
. Note: This method must not be used to
retrieve values for enumeration
and pattern
facets.
Fundamental Facet: cardinality.
[facets]: all defined facets for this type which are fixed.
If variety is list
the item type definition (an atomic or
union simple type definition) is available, otherwise
null
.
A list of enumeration values if it exists, otherwise an empty
StringList
.
Convenience method. Returns a value of a single constraining facet for
this simple type definition. This method must not be used to retrieve
values for enumeration
and pattern
facets.
facetName | The name of the facet, i.e.
FACET_LENGTH, FACET_TOTALDIGITS .
To retrieve the value for a pattern or
an enumeration, see enumeration and
pattern . |
---|
facetName
for
this simple type definition or null
.
A list of pattern values if it exists, otherwise an empty
StringList
.
If variety is union
the list of member type definitions (a
non-empty sequence of simple type definitions) is available,
otherwise an empty XSObjectList
.
A list of enumeration and pattern constraining facets if it exists,
otherwise an empty XSObjectList
.
Fundamental Facet: numeric.
Fundamental Facet: ordered.
If variety is atomic
the primitive type definition (a
built-in primitive datatype definition or the simple ur-type
definition) is available, otherwise null
.
[variety]: one of {atomic, list, union} or absent.
Convenience method. [Facets]: check whether a facet is defined on this type.
facetName | The name of the facet. |
---|
Convenience method. [Facets]: check whether a facet is defined and fixed on this type.
facetName | The name of the facet. |
---|