Modifier and Type | Field and Description |
---|---|
public static final short | COMPLEX_TYPE
The object describes a complex type. |
public static final short | SIMPLE_TYPE
The object describes a simple type. |
Modifier and Type | Method and Description |
---|---|
public boolean | Returns: True if this type is derived fromancestorType
using only derivation methods from the derivationMethod
.An ancestor type namespace. namespace, String An ancestor type name. name, short A bit combination representing a subset of {
derivationMethod)DERIVATION_RESTRICTION, DERIVATION_EXTENSION, DERIVATION_UNION, DERIVATION_LIST
}.Convenience method which checks if this type is derived from the given ancestor type. |
public boolean | Returns: True if this type is derived fromancestorType
using only derivation methods from the derivationMethod
.An ancestor type definition. ancestorType, short A bit combination representing a subset of {
derivationMethod)DERIVATION_RESTRICTION, DERIVATION_EXTENSION, DERIVATION_UNION, DERIVATION_LIST
}.Convenience method which checks if this type is derived from the given
|
public boolean | |
public XSTypeDefinition | |
public short | getFinal()
For complex types the returned value is a bit combination of the subset
of { |
public short | |
public boolean | Returns: True ifrestriction is in the final set,
otherwise false.Extension, restriction, list, union constants
(defined in restriction)XSConstants ).{final}. |
COMPLEX_TYPE | back to summary |
---|---|
public static final short COMPLEX_TYPE The object describes a complex type. |
SIMPLE_TYPE | back to summary |
---|---|
public static final short SIMPLE_TYPE The object describes a simple type. |
derivedFrom | back to summary |
---|---|
public boolean derivedFrom(String namespace, String name, short derivationMethod) Convenience method which checks if this type is derived from the given ancestor type.
|
derivedFromType | back to summary |
---|---|
public boolean derivedFromType(XSTypeDefinition ancestorType, short derivationMethod) Convenience method which checks if this type is derived from the given
|
getAnonymous | back to summary |
---|---|
public boolean getAnonymous() Convenience attribute. A boolean that specifies if the type definition is anonymous. |
getBaseType | back to summary |
---|---|
public XSTypeDefinition getBaseType() {base type definition}: either a simple type definition or a complex type definition. |
getFinal | back to summary |
---|---|
public short getFinal() For complex types the returned value is a bit combination of the subset
of { |
getTypeCategory | back to summary |
---|---|
public short getTypeCategory() Return whether this type definition is a simple type or complex type. |
isFinal | back to summary |
---|---|
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}.
|