<complexType> element information item
| Modifier and Type | Field and Description |
|---|---|
| private static final short | |
| private static final short | |
| private static final short | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv XSObjectListImpl | |
| pack-priv XSAttributeGroupDecl | |
| pack-priv XSTypeDefinition | |
| pack-priv short | |
| pack-priv volatile XSCMValidator | |
| pack-priv short | |
| pack-priv short | |
| pack-priv short | |
| pack-priv short | |
| pack-priv String | |
| private XSNamespaceItem | |
| pack-priv XSParticleDecl | |
| pack-priv String | |
| pack-priv volatile XSCMValidator | |
| pack-priv XSSimpleType |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public boolean | |
| public boolean | derivedFrom(String ancestorNS, String ancestorName, short derivationMethod)
Implements com. Convenience method which checks if this type is derived from the given ancestor type. |
| public boolean | derivedFromType(XSTypeDefinition ancestor, short derivationMethod)
Implements com. Convenience method which checks if this type is derived from the given
|
| public boolean | getAbstract()
Implements com. {abstract} A boolean. |
| public XSObjectList | getAnnotations()
Implements com. Optional. |
| public boolean | getAnonymous()
Implements com. A boolean that specifies if the type definition is anonymous. |
| public XSAttributeGroupDecl | |
| public XSAttributeUse | |
| public XSObjectList | getAttributeUses()
Implements com. {attribute uses} A set of attribute uses. |
| public XSWildcard | getAttributeWildcard()
Implements com. {attribute wildcard} Optional. |
| public XSTypeDefinition | getBaseType()
Implements com. {base type definition} Either a simple type definition or a complex type definition. |
| public XSCMValidator | |
| public synchronized XSCMValidator | |
| public short | getContentType()
Implements com. {content type} One of empty, a simple type definition (see
|
| public short | getDerivationMethod()
Implements com. {derivation method} Either extension or restriction. |
| public short | Returns: A bit flag that represents: {extension, restriction) or none for complexTypes; {extension, list, restriction, union} or none for simpleTypes;Implements com. {final} For complex type definition it is a subset of {extension, restriction}. |
| public short | |
| public String | getName()
Implements com. The |
| public String | getNamespace()
Implements com. The namespace URI of this node, or |
| public XSNamespaceItem | getNamespaceItem()
Implements com. A namespace schema information item corresponding to the target
namespace of the component, if it is globally declared; or
|
| public XSParticle | getParticle()
Implements com. A particle for mixed or element-only content model, otherwise
|
| public short | Returns: A bit flag corresponding to prohibited substitutionsImplements com. {prohibited substitutions} |
| public XSSimpleTypeDefinition | getSimpleType()
Implements com. A simple type definition corresponding to simple content model,
otherwise |
| public String | |
| public short | getType()
Implements com. Get the type of the object, i.e ELEMENT_DECLARATION. |
| public short | getTypeCategory()
Implements com. Return whether this type definition is a simple type or complex type. |
| public String | getTypeName()
Implements org. The name of a type declared for the associated element or attribute,
or |
| public String | getTypeNamespace()
Implements org. The namespace of the type declared for the associated element or
attribute or |
| private boolean | Returns: boolean True if the type is derived by any method for the reference typeThe namspace of the ancestor type declaration ancestorNS, String The name of the ancestor type declaration ancestorName, int A short indication the method of derivation derivationMethod, XSTypeDefinition The reference type definition type)Checks if a type is derived from another by any combination of restriction, list ir union. |
| private boolean | Returns: boolean True if the type is derived by extension for the reference typeThe namspace of the ancestor type declaration ancestorNS, String The name of the ancestor type declaration ancestorName, int A short indication the method of derivation derivationMethod, XSTypeDefinition The reference type definition type)Checks if a type is derived from another by extension. |
| private boolean | Returns: boolean True if the type is derived by restriciton for the reference typeThe namspace of the ancestor type declaration ancestorNS, String The name of the ancestor type declaration ancestorName, int A short indication the method of derivation * derivationMethod, XSTypeDefinition The reference type definition type)Checks if a type is derived from another by restriction. |
| public boolean | isDerivedFrom(String typeNamespaceArg, String typeNameArg, int derivationMethod)
Implements org. This method returns if there is a derivation between the reference
type definition, i.e. the |
| public boolean | Returns: boolean True if the ancestor type is derived from the reference type by the specifiied derivation method.The namspace of the ancestor type declaration ancestorNS, String The name of the ancestor type declaration ancestorName, int The derivation method derivationMethod)Checks if a type is derived from another given the the name, namespace and derivation method. |
| public boolean | Returns: True if derivation is in the final set, otherwise false.Extension, restriction, list, union constants
(defined in derivation)XSConstants).Implements com. {final} For complex type definition it is a subset of {extension, restriction}. |
| public boolean | Returns: True if prohibited is a prohibited substitution, otherwise false.extention or restriction constants (defined in
prohibited)XSConstants).Implements com. {prohibited substitutions} A subset of {extension, restriction}. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| pack-priv void | |
| public void | setValues(String name, String targetNamespace, XSTypeDefinition baseType, short derivedBy, short schemaFinal, short block, short contentType, boolean isAbstract, XSAttributeGroupDecl attrGrp, XSSimpleType simpleType, XSParticleDecl particle, XSObjectListImpl annotations)
|
| public String |
| CT_HAS_TYPE_ID | back to summary |
|---|---|
| private static final short CT_HAS_TYPE_ID | |
| CT_IS_ABSTRACT | back to summary |
|---|---|
| private static final short CT_IS_ABSTRACT | |
| CT_IS_ANONYMOUS | back to summary |
|---|---|
| private static final short CT_IS_ANONYMOUS | |
| DERIVATION_ANY | back to summary |
|---|---|
| pack-priv static final int DERIVATION_ANY | |
| DERIVATION_EXTENSION | back to summary |
|---|---|
| pack-priv static final int DERIVATION_EXTENSION | |
| DERIVATION_LIST | back to summary |
|---|---|
| pack-priv static final int DERIVATION_LIST | |
| DERIVATION_RESTRICTION | back to summary |
|---|---|
| pack-priv static final int DERIVATION_RESTRICTION | |
| DERIVATION_UNION | back to summary |
|---|---|
| pack-priv static final int DERIVATION_UNION | |
| fAnnotations | back to summary |
|---|---|
| pack-priv XSObjectListImpl fAnnotations | |
| fAttrGrp | back to summary |
|---|---|
| pack-priv XSAttributeGroupDecl fAttrGrp | |
| fBaseType | back to summary |
|---|---|
| pack-priv XSTypeDefinition fBaseType | |
| fBlock | back to summary |
|---|---|
| pack-priv short fBlock | |
| fCMValidator | back to summary |
|---|---|
| pack-priv volatile XSCMValidator fCMValidator | |
| fContentType | back to summary |
|---|---|
| pack-priv short fContentType | |
| fDerivedBy | back to summary |
|---|---|
| pack-priv short fDerivedBy | |
| fFinal | back to summary |
|---|---|
| pack-priv short fFinal | |
| fMiscFlags | back to summary |
|---|---|
| pack-priv short fMiscFlags | |
| fName | back to summary |
|---|---|
| pack-priv String fName | |
| fNamespaceItem | back to summary |
|---|---|
| private XSNamespaceItem fNamespaceItem | |
| fParticle | back to summary |
|---|---|
| pack-priv XSParticleDecl fParticle | |
| fTargetNamespace | back to summary |
|---|---|
| pack-priv String fTargetNamespace | |
| fUPACMValidator | back to summary |
|---|---|
| pack-priv volatile XSCMValidator fUPACMValidator | |
| fXSSimpleType | back to summary |
|---|---|
| pack-priv XSSimpleType fXSSimpleType | |
| XSComplexTypeDecl | back to summary |
|---|---|
| public XSComplexTypeDecl() | |
| appendTypeInfo | back to summary |
|---|---|
| pack-priv void appendTypeInfo(StringBuilder str) | |
| containsTypeID | back to summary |
|---|---|
| public boolean containsTypeID() | |
| derivedFrom | back to summary |
|---|---|
| public boolean derivedFrom(String ancestorNS, String ancestorName, short derivationMethod) Implements com. Doc from com. Convenience method which checks if this type is derived from the given ancestor type. | |
| derivedFromType | back to summary |
|---|---|
| public boolean derivedFromType(XSTypeDefinition ancestor, short derivationMethod) Implements com. Doc from com. Convenience method which checks if this type is derived from the given
| |
| getAbstract | back to summary |
|---|---|
| public boolean getAbstract() Implements com. {abstract} A boolean. Complex types for which {abstract} is true must not be used as the {type definition} for the validation of element information items. | |
| getAnnotations | back to summary |
|---|---|
| public XSObjectList getAnnotations() Implements com. Optional. Annotation. | |
| getAnonymous | back to summary |
|---|---|
| public boolean getAnonymous() Implements com. A boolean that specifies if the type definition is anonymous. Convenience attribute. This is a field is not part of XML Schema component model. | |
| getAttrGrp | back to summary |
|---|---|
| public XSAttributeGroupDecl getAttrGrp() | |
| getAttributeUse | back to summary |
|---|---|
| public XSAttributeUse getAttributeUse(String namespace, String name) | |
| getAttributeUses | back to summary |
|---|---|
| public XSObjectList getAttributeUses() Implements com. {attribute uses} A set of attribute uses. | |
| getAttributeWildcard | back to summary |
|---|---|
| public XSWildcard getAttributeWildcard() Implements com. {attribute wildcard} Optional. A wildcard. | |
| getBaseType | back to summary |
|---|---|
| public XSTypeDefinition getBaseType() Implements com. {base type definition} Either a simple type definition or a complex type definition. | |
| getContentModel | back to summary |
|---|---|
| public XSCMValidator getContentModel(CMBuilder cmBuilder) | |
| getContentModel | back to summary |
|---|---|
| public synchronized XSCMValidator getContentModel(CMBuilder cmBuilder, boolean forUPA) | |
| getContentType | back to summary |
|---|---|
| public short getContentType() Implements com. {content type} One of empty, a simple type definition (see
| |
| getDerivationMethod | back to summary |
|---|---|
| public short getDerivationMethod() Implements com. {derivation method} Either extension or restriction. The valid constant
value for this | |
| getFinal | back to summary |
|---|---|
| public short getFinal() Implements com. {final} For complex type definition it is a subset of {extension, restriction}.
| |
| getFinalSet | back to summary |
|---|---|
| public short getFinalSet() | |
| getName | back to summary |
|---|---|
| public String getName() Implements com. The | |
| getNamespace | back to summary |
|---|---|
| public String getNamespace() Implements com. The namespace URI of this node, or | |
| getNamespaceItem | back to summary |
|---|---|
| public XSNamespaceItem getNamespaceItem() Implements com. Doc from com. A namespace schema information item corresponding to the target
namespace of the component, if it is globally declared; or
| |
| getParticle | back to summary |
|---|---|
| public XSParticle getParticle() Implements com. A particle for mixed or element-only content model, otherwise
| |
| getProhibitedSubstitutions | back to summary |
|---|---|
| public short getProhibitedSubstitutions() Implements com. {prohibited substitutions}
| |
| getSimpleType | back to summary |
|---|---|
| public XSSimpleTypeDefinition getSimpleType() Implements com. A simple type definition corresponding to simple content model,
otherwise | |
| getTargetNamespace | back to summary |
|---|---|
| public String getTargetNamespace() | |
| getType | back to summary |
|---|---|
| public short getType() Implements com. Get the type of the object, i.e ELEMENT_DECLARATION. | |
| getTypeCategory | back to summary |
|---|---|
| public short getTypeCategory() Implements com. Doc from com. Return whether this type definition is a simple type or complex type. | |
| getTypeName | back to summary |
|---|---|
| public String getTypeName() Implements org. Doc from org. The name of a type declared for the associated element or attribute,
or | |
| getTypeNamespace | back to summary |
|---|---|
| public String getTypeNamespace() Implements org. Doc from org. The namespace of the type declared for the associated element or
attribute or | |
| isDerivedByAny | back to summary |
|---|---|
| private boolean isDerivedByAny(String ancestorNS, String ancestorName, int derivationMethod, XSTypeDefinition type) Checks if a type is derived from another by any combination of restriction, list ir union. See: http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#TypeInfo-isDerivedFrom
| |
| isDerivedByExtension | back to summary |
|---|---|
| private boolean isDerivedByExtension(String ancestorNS, String ancestorName, int derivationMethod, XSTypeDefinition type) Checks if a type is derived from another by extension. See: http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#TypeInfo-isDerivedFrom
| |
| isDerivedByRestriction | back to summary |
|---|---|
| private boolean isDerivedByRestriction(String ancestorNS, String ancestorName, int derivationMethod, XSTypeDefinition type) Checks if a type is derived from another by restriction. See: http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#TypeInfo-isDerivedFrom
| |
| isDerivedFrom | back to summary |
|---|---|
| public boolean isDerivedFrom(String typeNamespaceArg, String typeNameArg, int derivationMethod) Implements org. Doc from org. This method returns if there is a derivation between the reference
type definition, i.e. the | |
| isDOMDerivedFrom | back to summary |
|---|---|
| public boolean isDOMDerivedFrom(String ancestorNS, String ancestorName, int derivationMethod) Checks if a type is derived from another given the the name, namespace and derivation method. See: http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#TypeInfo-isDerivedFrom | |
| isFinal | back to summary |
|---|---|
| public boolean isFinal(short derivation) Implements com. {final} For complex type definition it is a subset of {extension, restriction}. For simple type definition it is a subset of {extension, list, restriction, union}.
| |
| isProhibitedSubstitution | back to summary |
|---|---|
| public boolean isProhibitedSubstitution(short prohibited) Implements com. {prohibited substitutions} A subset of {extension, restriction}.
| |
| reset | back to summary |
|---|---|
| public void reset() | |
| setContainsTypeID | back to summary |
|---|---|
| public void setContainsTypeID() | |
| setIsAbstractType | back to summary |
|---|---|
| public void setIsAbstractType() | |
| setIsAnonymous | back to summary |
|---|---|
| public void setIsAnonymous() | |
| setName | back to summary |
|---|---|
| public void setName(String name) | |
| setNamespaceItem | back to summary |
|---|---|
| pack-priv void setNamespaceItem(XSNamespaceItem namespaceItem) | |
| setValues | back to summary |
|---|---|
| public void setValues(String name, String targetNamespace, XSTypeDefinition baseType, short derivedBy, short schemaFinal, short block, short contentType, boolean isAbstract, XSAttributeGroupDecl attrGrp, XSSimpleType simpleType, XSParticleDecl particle, XSObjectListImpl annotations) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |