public interface XSSimpleTypeDefinition extends XSTypeDefinition
facets and the multiValueFacets attributes; 
 or users can separately query a facet's properties using methods such as 
 getLexicalFacetValue, isFixedFacet, etc.| Modifier and Type | Field and Description | 
|---|---|
| static short | FACET_ASSERT4.3.15 assert (XML Schema 1.1) | 
| static short | FACET_ENUMERATION4.3.5 enumeration. | 
| static short | FACET_EXPLICITTIMEZONE4.3.16 explicitTimeZone (XML Schema 1.1) | 
| static short | FACET_FRACTIONDIGITS4.3.12 fractionDigits. | 
| static short | FACET_LENGTH4.3.1 Length | 
| static short | FACET_MAXEXCLUSIVE4.3.9 maxExclusive. | 
| static short | FACET_MAXINCLUSIVE4.3.7 maxInclusive. | 
| static short | FACET_MAXLENGTH4.3.3 maxLength. | 
| static short | FACET_MAXSCALE4.3.13 maxScale (XML Schema 1.1) | 
| static short | FACET_MINEXCLUSIVE4.3.9 minExclusive. | 
| static short | FACET_MININCLUSIVE4.3.10 minInclusive. | 
| static short | FACET_MINLENGTH4.3.2 minLength. | 
| static short | FACET_MINSCALE4.3.14 minScale (XML Schema 1.1) | 
| static short | FACET_NONENo facets defined. | 
| static short | FACET_PATTERN4.3.4 pattern. | 
| static short | FACET_TOTALDIGITS4.3.11 totalDigits . | 
| static short | FACET_WHITESPACE4.3.6 whitespace. | 
| static short | ORDERED_FALSEA constant defined for the 'ordered' fundamental facet: not ordered. | 
| static short | ORDERED_PARTIALA constant defined for the 'ordered' fundamental facet: partially 
 ordered. | 
| static short | ORDERED_TOTALA constant defined for the 'ordered' fundamental facet: total ordered. | 
| static short | VARIETY_ABSENTThe variety is absent for the anySimpleType definition. | 
| static short | VARIETY_ATOMICAtomictype. | 
| static short | VARIETY_LISTListtype. | 
| static short | VARIETY_UNIONUniontype. | 
COMPLEX_TYPE, SIMPLE_TYPE| Modifier and Type | Method and Description | 
|---|---|
| XSObjectList | getAnnotations()A sequence of [annotations] or an empty  XSObjectList. | 
| boolean | getBounded()Fundamental Facet: bounded. | 
| short | getBuiltInKind()Returns the closest built-in type category this type represents or 
 derived from. | 
| short | getDefinedFacets()[facets]: all facets defined on this type. | 
| XSObject | getFacet(int facetType)A constraining facet object. | 
| XSObjectList | getFacets()A list of constraining facets if it exists, otherwise an empty 
  XSObjectList. | 
| boolean | getFinite()Fundamental Facet: cardinality. | 
| short | getFixedFacets()[facets]: all defined facets for this type which are fixed. | 
| XSSimpleTypeDefinition | getItemType()If variety is  listthe item type definition (an atomic or 
 union simple type definition) is available, otherwisenull. | 
| StringList | getLexicalEnumeration()A list of enumeration values if it exists, otherwise an empty 
  StringList. | 
| java.lang.String | getLexicalFacetValue(short facetName)Convenience method. | 
| StringList | getLexicalPattern()A list of pattern values if it exists, otherwise an empty 
  StringList. | 
| XSObjectList | getMemberTypes()If variety is  unionthe list of member type definitions (a 
 non-empty sequence of simple type definitions) is available, 
 otherwise an emptyXSObjectList. | 
| XSObjectList | getMultiValueFacets()A list of enumeration and pattern constraining facets if it exists, 
 otherwise an empty  XSObjectList. | 
| boolean | getNumeric()Fundamental Facet: numeric. | 
| short | getOrdered()Fundamental Facet: ordered. | 
| XSSimpleTypeDefinition | getPrimitiveType()If variety is  atomicthe primitive type definition (a 
 built-in primitive datatype definition or the simple ur-type 
 definition) is available, otherwisenull. | 
| short | getVariety()[variety]: one of {atomic, list, union} or absent. | 
| boolean | isDefinedFacet(short facetName)Convenience method. | 
| boolean | isFixedFacet(short facetName)Convenience method. | 
derivedFrom, derivedFromType, getAnonymous, getBaseType, getContext, getFinal, getTypeCategory, isFinalgetName, getNamespace, getNamespaceItem, getTypestatic final short VARIETY_ABSENT
static final short VARIETY_ATOMIC
Atomic type.static final short VARIETY_LIST
List type.static final short VARIETY_UNION
Union type.static final short FACET_NONE
static final short FACET_LENGTH
static final short FACET_MINLENGTH
static final short FACET_MAXLENGTH
static final short FACET_PATTERN
static final short FACET_WHITESPACE
static final short FACET_MAXINCLUSIVE
static final short FACET_MAXEXCLUSIVE
static final short FACET_MINEXCLUSIVE
static final short FACET_MININCLUSIVE
static final short FACET_TOTALDIGITS
static final short FACET_FRACTIONDIGITS
static final short FACET_ENUMERATION
static final short FACET_MAXSCALE
static final short FACET_MINSCALE
static final short FACET_ASSERT
static final short FACET_EXPLICITTIMEZONE
static final short ORDERED_FALSE
static final short ORDERED_PARTIAL
static final short ORDERED_TOTAL
short getVariety()
XSSimpleTypeDefinition getPrimitiveType()
atomic the primitive type definition (a 
 built-in primitive datatype definition or the simple ur-type 
 definition) is available, otherwise null.short getBuiltInKind()
INTEGER_DV is returned.XSSimpleTypeDefinition getItemType()
list the item type definition (an atomic or 
 union simple type definition) is available, otherwise 
 null.XSObjectList getMemberTypes()
union the list of member type definitions (a 
 non-empty sequence of simple type definitions) is available, 
 otherwise an empty XSObjectList.short getDefinedFacets()
boolean isDefinedFacet(short facetName)
facetName - The name of the facet.short getFixedFacets()
boolean isFixedFacet(short facetName)
facetName - The name of the facet.java.lang.String getLexicalFacetValue(short facetName)
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.StringList getLexicalEnumeration()
StringList.StringList getLexicalPattern()
StringList.short getOrdered()
boolean getFinite()
boolean getBounded()
boolean getNumeric()
XSObjectList getFacets()
XSObjectList. Note: This method must not be used to 
 retrieve values for enumeration and pattern 
 facets.XSObjectList getMultiValueFacets()
XSObjectList.XSObject getFacet(int facetType)
XSObjectList getAnnotations()
XSObjectList.Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.