| 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 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 XSCMValidator | |
| pack-priv XSSimpleType |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public boolean | |
| public boolean | derivedFrom(String
An ancestor type namespace. ancestorNS, String An ancestor type name. ancestorName, short A bit combination representing a subset of {
derivationMethod)DERIVATION_RESTRICTION, DERIVATION_EXTENSION, DERIVATION_UNION, DERIVATION_LIST
}.Implements org. |
| public boolean | derivedFromType(XSTypeDefinition
An ancestor type definition. ancestor, short A bit combination representing a subset of {
derivationMethod)DERIVATION_RESTRICTION, DERIVATION_EXTENSION, DERIVATION_UNION, DERIVATION_LIST
}.Implements org. ancestorType.
|
| public boolean | getAbstract()
Implements org. |
| public XSObjectList | |
| public boolean | getAnonymous()
Implements org. |
| public XSAttributeGroupDecl | |
| public XSAttributeUse | |
| public XSObjectList | getAttributeUses()
Implements org. |
| public XSWildcard | getAttributeWildcard()
Implements org. |
| public XSTypeDefinition | getBaseType()
Implements org. |
| public XSCMValidator | |
| public synchronized XSCMValidator | |
| public short | getContentType()
Implements org. simpleType, or mixed, element-only (see
cmParticle).
|
| public short | getDerivationMethod()
Implements org. |
| public short | Returns: A bit flag that represents: {extension, restriction) or none for complexTypes; {extension, list, restriction, union} or none for simpleTypes;Implements org. |
| public short | |
| public String | getName()
Implements org. name of this XSObject depending on the
XSObject type.
|
| public String | getNamespace()
Implements org. null if it is
unspecified.
|
| public XSNamespaceItem | getNamespaceItem()
Implements org. null otherwise.
|
| public XSParticle | getParticle()
Implements org. null
|
| public short | Returns: A bit flag corresponding to prohibited substitutionsImplements org. |
| public XSSimpleTypeDefinition | getSimpleType()
Implements org. null
|
| public String | |
| public short | getType()
Implements org. |
| public short | getTypeCategory()
Implements org. |
| public String | getTypeName()
Implements org. null if unknown.
|
| public String | getTypeNamespace()
Implements org. null if the element does not have
declaration or if no namespace information is available.
|
| 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
the namespace of the other type definition. typeNamespaceArg, String the name of the other type definition. typeNameArg, int the type of derivation and conditions applied
between two types, as described in the list of constants provided
in this interface. derivationMethod)Implements org. TypeInfo on which the method
is being called, and the other type definition, i.e. the one passed
as parameters.
|
| 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 org. |
| public boolean | Returns: True if prohibited is a prohibited substitution, otherwise false.extention or restriction constants (defined in
prohibited)XSConstants).Implements org. |
| 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 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 XSCMValidator fUPACMValidator | |
| fXSSimpleType | back to summary |
|---|---|
| pack-priv XSSimpleType fXSSimpleType | |
| XSComplexTypeDecl | back to summary |
|---|---|
| public XSComplexTypeDecl() | |
| appendTypeInfo | back to summary |
|---|---|
| pack-priv void appendTypeInfo(StringBuffer str) | |
| containsTypeID | back to summary |
|---|---|
| public boolean containsTypeID() | |
| derivedFrom | back to summary |
|---|---|
| public boolean derivedFrom(String ancestorNS, String ancestorName, short derivationMethod) Implements org. Doc from org. 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 org. Doc from org. Convenience method which checks if this type is derived from the given
| |
| getAbstract | back to summary |
|---|---|
| public boolean getAbstract() Implements org. {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 org. Optional. Annotation. | |
| getAnonymous | back to summary |
|---|---|
| public boolean getAnonymous() Implements org. 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 org. {attribute uses} A set of attribute uses. | |
| getAttributeWildcard | back to summary |
|---|---|
| public XSWildcard getAttributeWildcard() Implements org. {attribute wildcard} Optional. A wildcard. | |
| getBaseType | back to summary |
|---|---|
| public XSTypeDefinition getBaseType() Implements org. {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 org. {content type} One of empty, a simple type definition (see
| |
| getDerivationMethod | back to summary |
|---|---|
| public short getDerivationMethod() Implements org. {derivation method} Either extension or restriction. The valid constant
value for this | |
| getFinal | back to summary |
|---|---|
| public short getFinal() Implements org. {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 org. The | |
| getNamespace | back to summary |
|---|---|
| public String getNamespace() Implements org. The namespace URI of this node, or | |
| getNamespaceItem | back to summary |
|---|---|
| public XSNamespaceItem getNamespaceItem() Implements org. Doc from org. 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 org. A particle for mixed or element-only content model, otherwise
| |
| getProhibitedSubstitutions | back to summary |
|---|---|
| public short getProhibitedSubstitutions() Implements org. {prohibited substitutions}
| |
| getSimpleType | back to summary |
|---|---|
| public XSSimpleTypeDefinition getSimpleType() Implements org. 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 org. Get the type of the object, i.e ELEMENT_DECLARATION. | |
| getTypeCategory | back to summary |
|---|---|
| public short getTypeCategory() Implements org. Doc from org. 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 org. {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 org. {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.
| |