public interface XSComplexType extends XSType, XSAttContainer
EXTENSION, RESTRICTION, SUBSTITUTION| Modifier and Type | Method and Description |
|---|---|
XSContentType |
getContentType()
The content of this complex type.
|
List<XSElementDecl> |
getElementDecls()
Returns a list of element declarations of this type.
|
XSContentType |
getExplicitContent()
Gets the explicit content of a complex type with a complex content
that was derived by extension.
|
XSComplexType |
getRedefinedBy()
If this
XSComplexType is redefined by another complex type,
return that component. |
XSElementDecl |
getScope()
Gets the scope of this complex type.
|
List<XSComplexType> |
getSubtypes()
Returns a list of direct subtypes of this complex type.
|
boolean |
isAbstract()
Checks if this complex type is declared as an abstract type.
|
boolean |
isFinal(int derivationMethod) |
boolean |
isMixed() |
boolean |
isSubstitutionProhibited(int method)
Roughly corresponds to the block attribute.
|
asComplexType, asSimpleType, getBaseType, getDerivationMethod, getRedefinedCount, isComplexType, isDerivedFrom, isSimpleType, listSubstitutablesgetAttGroups, getAttributeUse, getAttributeUses, getAttributeWildcard, getDeclaredAttributeUse, getDeclaredAttributeUses, iterateAttGroups, iterateAttributeUses, iterateDeclaredAttributeUsesgetName, getTargetNamespace, isAnonymous, isGlobal, isLocalapply, getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, visitboolean isAbstract()
boolean isFinal(int derivationMethod)
boolean isSubstitutionProhibited(int method)
XSElementDecl getScope()
XSContentType getContentType()
XSContentType getExplicitContent()
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 )
boolean isMixed()
XSComplexType getRedefinedBy()
XSComplexType is redefined by another complex type,
return that component.getRedefinedBy in interface XSTypeList<XSComplexType> getSubtypes()
List<XSElementDecl> getElementDecls()
Copyright © 2005–2017 Oracle Corporation. All rights reserved.