| Modifier and Type | Method and Description |
|---|---|
| public XSContentType | |
| public List | |
| public XSContentType | Returns: If this complex type is derived by restriction or has a simple content, this method returns null. IOW, this method only works for a complex type with a complex content derived by extension from another complex type.Gets the explicit content of a complex type with a complex content that was derived by extension. |
| public XSComplexType | Returns: null if this component has not been redefined.Redeclares com. If this is redefined by another complex type, return that component. |
| public XSElementDecl | Returns: null if this complex type is global. Otherwise return the element declaration that contains this anonymous complex type.Gets the scope of this complex type. |
| public List | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean |
| getContentType | back to summary |
|---|---|
| public XSContentType getContentType() The content of this complex type.
| |
| getElementDecls | back to summary |
|---|---|
| public List Returns a list of element declarations of this type. | |
| getExplicitContent | back to summary |
|---|---|
| public XSContentType getExplicitContent() Gets the explicit content of a complex type with a complex content that was derived by extension. Informally, the "explicit content" is the portion of the content model added in this derivation. IOW, it's a delta between the base complex type and this complex type. For example, when a complex type T2 derives fom T1, then: content type of T2 = SEQUENCE( content type of T1, explicit content of T2 )
| |
| getRedefinedBy | back to summary |
|---|---|
| public XSComplexType getRedefinedBy() Redeclares com. If this is redefined by another complex type, return that component.
| |
| getScope | back to summary |
|---|---|
| public XSElementDecl getScope() Gets the scope of this complex type. This is not a property defined in the schema spec.
| |
| getSubtypes | back to summary |
|---|---|
| public List Returns a list of direct subtypes of this complex type. If the type is not subtyped, returns empty list. Doesn't return null. Note that the complex type may be extended outside of the scope of the schemaset known to XSOM. | |
| isAbstract | back to summary |
|---|---|
| public boolean isAbstract() Checks if this complex type is declared as an abstract type. | |
| isFinal | back to summary |
|---|---|
| public boolean isFinal(int derivationMethod) | |
| isMixed | back to summary |
|---|---|
| public boolean isMixed() | |
| isSubstitutionProhibited | back to summary |
|---|---|
| public boolean isSubstitutionProhibited(int method) Roughly corresponds to the block attribute. But see the spec for gory detail. | |