| com.sun.xml.xsom.XSType
EXTENSION | final static int EXTENSION(Code) | | |
RESTRICTION | final static int RESTRICTION(Code) | | |
SUBSTITUTION | final static int SUBSTITUTION(Code) | | |
asComplexType | XSComplexType asComplexType()(Code) | | Casts this object to XSComplexType if possible, otherwise returns null.
|
asSimpleType | XSSimpleType asSimpleType()(Code) | | Casts this object to XSSimpleType if possible, otherwise returns null.
|
getBaseType | XSType getBaseType()(Code) | | Returns the base type of this type.
Note that if this type represents xs:anyType, this method returns itself.
This is awkward as an API, but it follows the schema specification.
always non-null. |
getDerivationMethod | int getDerivationMethod()(Code) | | |
getRedefinedBy | XSType getRedefinedBy()(Code) | | If this
XSType is redefined by another type,
return that component.
nullif this component has not been redefined. |
getRedefinedCount | int getRedefinedCount()(Code) | | Returns the number of complex types that redefine this component.
For example, if A is redefined by B and B is redefined by C,
A.getRedefinedCount()==2, B.getRedefinedCount()==1, and
C.getRedefinedCount()==0.
|
isComplexType | boolean isComplexType()(Code) | | Returns true if this instanceof XSComplexType .
|
isDerivedFrom | boolean isDerivedFrom(XSType t)(Code) | | Returns true if this type is derived from the specified type.
Note that t.isDerivedFrom(t) returns true.
|
isSimpleType | boolean isSimpleType()(Code) | | Returns true if this instanceof XSSimpleType .
|
listSubstitutables | XSType[] listSubstitutables()(Code) | | Lists up types that can substitute this type by using xsi:type.
Includes this type itself.
This method honors the block flag.
|
|
|