org.apache.xerces.xs.XSTypeDefinition |
Known Indirect Subclasses |
This interface represents a complex or simple type definition.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
short | COMPLEX_TYPE | The object describes a complex type. | |||||||||
short | SIMPLE_TYPE | The object describes a simple type. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Convenience method which checks if this type is derived from the given
ancestor type.
| |||||||||||
Convenience method which checks if this type is derived from the given
ancestorType . | |||||||||||
Convenience attribute.
| |||||||||||
{base type definition}: either a simple type definition or a complex
type definition.
| |||||||||||
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 . | |||||||||||
Return whether this type definition is a simple type or complex type.
| |||||||||||
{final}.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.apache.xerces.xs.XSObject
|
The object describes a complex type.
The object describes a simple type.
Convenience method which checks if this type is derived from the given ancestor type.
namespace | An ancestor type namespace. |
---|---|
name | An ancestor type name. |
derivationMethod | A bit combination representing a subset of {
DERIVATION_RESTRICTION, DERIVATION_EXTENSION, DERIVATION_UNION, DERIVATION_LIST
}. |
ancestorType
using only derivation methods from the derivationMethod
.
Convenience method which checks if this type is derived from the given
ancestorType
.
ancestorType | An ancestor type definition. |
---|---|
derivationMethod | A bit combination representing a subset of {
DERIVATION_RESTRICTION, DERIVATION_EXTENSION, DERIVATION_UNION, DERIVATION_LIST
}. |
ancestorType
using only derivation methods from the derivationMethod
.
Convenience attribute. A boolean that specifies if the type definition is anonymous.
{base type definition}: either a simple type definition or a complex type definition.
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
.
Return whether this type definition is a simple type or complex type.
{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}.
restriction | Extension, restriction, list, union constants
(defined in XSConstants ). |
---|
restriction
is in the final set,
otherwise false.