enumerationAnnotations
public org.apache.xerces.xs.XSObjectList enumerationAnnotations
fractionDigitsAnnotation
public org.apache.xerces.xs.XSAnnotation fractionDigitsAnnotation
lengthAnnotation
public org.apache.xerces.xs.XSAnnotation lengthAnnotation
maxExclusiveAnnotation
public org.apache.xerces.xs.XSAnnotation maxExclusiveAnnotation
maxInclusiveAnnotation
public org.apache.xerces.xs.XSAnnotation maxInclusiveAnnotation
maxLengthAnnotation
public org.apache.xerces.xs.XSAnnotation maxLengthAnnotation
minExclusiveAnnotation
public org.apache.xerces.xs.XSAnnotation minExclusiveAnnotation
minInclusiveAnnotation
public org.apache.xerces.xs.XSAnnotation minInclusiveAnnotation
minLengthAnnotation
public org.apache.xerces.xs.XSAnnotation minLengthAnnotation
totalDigitsAnnotation
public org.apache.xerces.xs.XSAnnotation totalDigitsAnnotation
whiteSpaceAnnotation
public org.apache.xerces.xs.XSAnnotation whiteSpaceAnnotation
XSSimpleTypeDecl
public XSSimpleTypeDecl()
XSSimpleTypeDecl
protected XSSimpleTypeDecl(String name,
String uri,
short finalSet,
XSSimpleTypeDecl itemType,
boolean isImmutable,
org.apache.xerces.xs.XSObjectList annotations)
XSSimpleTypeDecl
protected XSSimpleTypeDecl(String name,
String uri,
short finalSet,
XSSimpleTypeDecl memberTypes,
org.apache.xerces.xs.XSObjectList annotations)
XSSimpleTypeDecl
protected XSSimpleTypeDecl(XSSimpleTypeDecl base,
String name,
String uri,
short finalSet,
boolean isImmutable,
org.apache.xerces.xs.XSObjectList annotations)
XSSimpleTypeDecl
protected XSSimpleTypeDecl(XSSimpleTypeDecl base,
String name,
String uri,
short finalSet,
boolean isImmutable,
org.apache.xerces.xs.XSObjectList annotations,
short builtInKind)
XSSimpleTypeDecl
protected XSSimpleTypeDecl(XSSimpleTypeDecl base,
String name,
short validateDV,
short ordered,
boolean bounded,
boolean finite,
boolean numeric,
boolean isImmutable,
short builtInKind)
derivedFrom
public boolean derivedFrom(String ancestorNS,
String ancestorName,
short derivation)
- derivedFrom in interface org.apache.xerces.xs.XSTypeDefinition
derivedFromType
public boolean derivedFromType(org.apache.xerces.xs.XSTypeDefinition ancestor,
short derivation)
- derivedFromType in interface org.apache.xerces.xs.XSTypeDefinition
getAnnotations
public org.apache.xerces.xs.XSObjectList getAnnotations()
- getAnnotations in interface org.apache.xerces.xs.XSSimpleTypeDefinition
getAnonymous
public boolean getAnonymous()
- getAnonymous in interface org.apache.xerces.xs.XSTypeDefinition
getBaseType
public org.apache.xerces.xs.XSTypeDefinition getBaseType()
- getBaseType in interface org.apache.xerces.xs.XSTypeDefinition
getBounded
public boolean getBounded()
- getBounded in interface org.apache.xerces.xs.XSSimpleTypeDefinition
getBuiltInKind
public short getBuiltInKind()
- getBuiltInKind in interface org.apache.xerces.xs.XSSimpleTypeDefinition
getDefinedFacets
public short getDefinedFacets()
- getDefinedFacets in interface org.apache.xerces.xs.XSSimpleTypeDefinition
getFacets
public org.apache.xerces.xs.XSObjectList getFacets()
- getFacets in interface org.apache.xerces.xs.XSSimpleTypeDefinition
getFinal
public short getFinal()
- getFinal in interface org.apache.xerces.xs.XSTypeDefinition
getFinite
public boolean getFinite()
- getFinite in interface org.apache.xerces.xs.XSSimpleTypeDefinition
getFixedFacets
public short getFixedFacets()
- getFixedFacets in interface org.apache.xerces.xs.XSSimpleTypeDefinition
getItemType
public org.apache.xerces.xs.XSSimpleTypeDefinition getItemType()
- getItemType in interface org.apache.xerces.xs.XSSimpleTypeDefinition
getLexicalEnumeration
public org.apache.xerces.xs.StringList getLexicalEnumeration()
- getLexicalEnumeration in interface org.apache.xerces.xs.XSSimpleTypeDefinition
getLexicalFacetValue
public String getLexicalFacetValue(short facetName)
- getLexicalFacetValue in interface org.apache.xerces.xs.XSSimpleTypeDefinition
getLexicalPattern
public org.apache.xerces.xs.StringList getLexicalPattern()
- getLexicalPattern in interface org.apache.xerces.xs.XSSimpleTypeDefinition
getMemberTypes
public org.apache.xerces.xs.XSObjectList getMemberTypes()
- getMemberTypes in interface org.apache.xerces.xs.XSSimpleTypeDefinition
getMultiValueFacets
public org.apache.xerces.xs.XSObjectList getMultiValueFacets()
- getMultiValueFacets in interface org.apache.xerces.xs.XSSimpleTypeDefinition
getName
public String getName()
- getName in interface org.apache.xerces.xs.XSObject
getNamespace
public String getNamespace()
- getNamespace in interface org.apache.xerces.xs.XSObject
getNamespaceItem
public org.apache.xerces.xs.XSNamespaceItem getNamespaceItem()
- getNamespaceItem in interface org.apache.xerces.xs.XSObject
org.apache.xerces.xs.XSObject.getNamespaceItem()
getNumeric
public boolean getNumeric()
- getNumeric in interface org.apache.xerces.xs.XSSimpleTypeDefinition
getOrdered
public short getOrdered()
- getOrdered in interface org.apache.xerces.xs.XSSimpleTypeDefinition
getPrimitiveKind
public short getPrimitiveKind()
return an ID representing the built-in primitive base type.
REVISIT: This method is (currently) for internal use only.
the constants returned from this method are not finalized yet.
the names and values might change in the further.
- getPrimitiveKind in interface XSSimpleType
- an ID representing the built-in primitive base type
getPrimitiveType
public org.apache.xerces.xs.XSSimpleTypeDefinition getPrimitiveType()
- getPrimitiveType in interface org.apache.xerces.xs.XSSimpleTypeDefinition
getType
public short getType()
- getType in interface org.apache.xerces.xs.XSObject
getTypeCategory
public short getTypeCategory()
- getTypeCategory in interface org.apache.xerces.xs.XSTypeDefinition
getVariety
public short getVariety()
- getVariety in interface org.apache.xerces.xs.XSSimpleTypeDefinition
getWhitespace
public short getWhitespace()
throws DatatypeException
Return the whitespace corresponding to this datatype.
- getWhitespace in interface XSSimpleType
- valid values are WS_PRESERVE, WS_REPLACE, WS_COLLAPSE.
DatatypeException
- union datatypes don't have whitespace facet associated with them
isDefinedFacet
public boolean isDefinedFacet(short facetName)
- isDefinedFacet in interface org.apache.xerces.xs.XSSimpleTypeDefinition
isEqual
public boolean isEqual(Object value1,
Object value2)
Check whether two actual values are equal.
- isEqual in interface XSSimpleType
value1
- the first valuevalue2
- the second value
- true if the two value are equal
isFinal
public boolean isFinal(short derivation)
- isFinal in interface org.apache.xerces.xs.XSTypeDefinition
isFixedFacet
public boolean isFixedFacet(short facetName)
- isFixedFacet in interface org.apache.xerces.xs.XSSimpleTypeDefinition
isIDType
public boolean isIDType()
Check whether this type is or is derived from ID.
REVISIT: this method makes ID special, which is not a good design.
but since ID is not a primitive, there doesn't seem to be a
clean way of doing it except to define special method like this.
- isIDType in interface XSSimpleType
- whether this simple type is or is derived from ID.
normalize
protected String normalize(Object content,
short ws)
normalize
public static String normalize(String content,
short ws)
setListValues
protected XSSimpleTypeDecl setListValues(String name,
String uri,
short finalSet,
XSSimpleTypeDecl itemType,
org.apache.xerces.xs.XSObjectList annotations)
setRestrictionValues
protected XSSimpleTypeDecl setRestrictionValues(XSSimpleTypeDecl base,
String name,
String uri,
short finalSet,
org.apache.xerces.xs.XSObjectList annotations)
setUnionValues
protected XSSimpleTypeDecl setUnionValues(String name,
String uri,
short finalSet,
XSSimpleTypeDecl memberTypes,
org.apache.xerces.xs.XSObjectList annotations)
toString
public String toString()
java.lang.Object.toString()