XSComplexType and XSSimpleType.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final int |
| Modifier and Type | Method and Description |
|---|---|
| public XSComplexType | |
| public XSSimpleType | |
| public XSType | |
| public int | |
| public XSType | Returns: null if this component has not been redefined.If this is redefined by another type, return that component. |
| public int | |
| public boolean | |
| public boolean | |
| public boolean | |
| public XSType[] |
| EXTENSION | back to summary |
|---|---|
| public static final int EXTENSION | |
| RESTRICTION | back to summary |
|---|---|
| public static final int RESTRICTION | |
| SUBSTITUTION | back to summary |
|---|---|
| public static final int SUBSTITUTION | |
| asComplexType | back to summary |
|---|---|
| public XSComplexType asComplexType() Casts this object to XSComplexType if possible, otherwise returns null. | |
| asSimpleType | back to summary |
|---|---|
| public XSSimpleType asSimpleType() Casts this object to XSSimpleType if possible, otherwise returns null. | |
| getBaseType | back to summary |
|---|---|
| public XSType getBaseType() Returns the base type of this type.
Note that if this type represents
| |
| getDerivationMethod | back to summary |
|---|---|
| public int getDerivationMethod() | |
| getRedefinedBy | back to summary |
|---|---|
| public XSType getRedefinedBy() If this is redefined by another type, return that component.
| |
| getRedefinedCount | back to summary |
|---|---|
| public int getRedefinedCount() 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 | back to summary |
|---|---|
| public boolean isComplexType() Returns true if | |
| isDerivedFrom | back to summary |
|---|---|
| public boolean isDerivedFrom(XSType t) Returns true if this type is derived from the specified type.
Note that | |
| isSimpleType | back to summary |
|---|---|
| public boolean isSimpleType() Returns true if | |
| listSubstitutables | back to summary |
|---|---|
| public XSType[] listSubstitutables() Lists up types that can substitute this type by using xsi:type. Includes this type itself. This method honors the block flag. | |