Methods Summary |
---|
public boolean | derivedFrom(java.lang.String namespace, java.lang.String name, short derivationMethod)Convenience method which checks if this type is derived from the given
ancestor type.
|
public boolean | derivedFromType(org.apache.xerces.xs.XSTypeDefinition ancestorType, short derivationMethod)Convenience method which checks if this type is derived from the given
ancestorType .
|
public boolean | getAnonymous()Convenience attribute. A boolean that specifies if the type definition
is anonymous.
|
public org.apache.xerces.xs.XSTypeDefinition | getBaseType(){base type definition}: either a simple type definition or a complex
type definition.
|
public short | getFinal()For complex types the returned value is a bit combination of the subset
of {DERIVATION_EXTENSION, DERIVATION_RESTRICTION }
corresponding to final set of this type or
DERIVATION_NONE . For simple types the returned value is
a bit combination of the subset of {
DERIVATION_RESTRICTION, DERIVATION_EXTENSION, DERIVATION_UNION, DERIVATION_LIST
} corresponding to final set of this type or
DERIVATION_NONE .
|
public short | getTypeCategory()Return whether this type definition is a simple type or complex type.
|
public boolean | isFinal(short restriction){final}. For a complex type definition it is a subset of {extension,
restriction}. For a simple type definition it is a subset of
{extension, list, restriction, union}.
|