java.lang.Object | |
↳ | org.apache.xerces.impl.xs.XSComplexTypeDecl |
The XML representation for a complexType schema component is a <complexType> element information item
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.apache.xerces.xs.XSComplexTypeDefinition
| |||||||||||
From interface
org.apache.xerces.xs.XSTypeDefinition
| |||||||||||
From interface
org.w3c.dom.TypeInfo
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Convenience method which checks if this type is derived from the given
ancestor type.
| |||||||||||
Convenience method which checks if this type is derived from the given
ancestorType . | |||||||||||
{abstract} A boolean.
| |||||||||||
Optional.
| |||||||||||
A boolean that specifies if the type definition is anonymous.
| |||||||||||
{attribute uses} A set of attribute uses.
| |||||||||||
{attribute wildcard} Optional.
| |||||||||||
{base type definition} Either a simple type definition or a complex
type definition.
| |||||||||||
{content type} One of empty, a simple type definition (see
simpleType , or mixed, element-only (see
cmParticle ). | |||||||||||
{derivation method} Either extension or restriction.
| |||||||||||
{final} For complex type definition it is a subset of {extension, restriction}.
| |||||||||||
The
name of this XSObject depending on the
XSObject type. | |||||||||||
The namespace URI of this node, or
null if it is
unspecified. | |||||||||||
A namespace schema information item corresponding to the target
namespace of the component, if it is globally declared; or
null otherwise. | |||||||||||
A particle for mixed or element-only content model, otherwise
null
| |||||||||||
{prohibited substitutions}
| |||||||||||
A simple type definition corresponding to simple content model,
otherwise
null
| |||||||||||
Get the type of the object, i.e ELEMENT_DECLARATION.
| |||||||||||
Return whether this type definition is a simple type or complex type.
| |||||||||||
Checks if a type is derived from another given the the name, namespace
and derivation method.
| |||||||||||
{final} For complex type definition it is a subset of {extension,
restriction}.
| |||||||||||
{prohibited substitutions} A subset of {extension, restriction}.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.apache.xerces.xs.XSComplexTypeDefinition
| |||||||||||
From interface
org.apache.xerces.xs.XSObject
| |||||||||||
From interface
org.apache.xerces.xs.XSTypeDefinition
| |||||||||||
From interface
org.w3c.dom.TypeInfo
|
Convenience method which checks if this type is derived from the given ancestor type.
ancestorNS | An ancestor type namespace. |
---|---|
ancestorName | An ancestor type name. |
derivationMethod | A bit combination representing a subset of {
DERIVATION_RESTRICTION, DERIVATION_EXTENSION, DERIVATION_UNION, DERIVATION_LIST
}. |
ancestorType
using only derivation methods from the derivationMethod
.
Convenience method which checks if this type is derived from the given
ancestorType
.
ancestor | An ancestor type definition. |
---|---|
derivationMethod | A bit combination representing a subset of {
DERIVATION_RESTRICTION, DERIVATION_EXTENSION, DERIVATION_UNION, DERIVATION_LIST
}. |
ancestorType
using only derivation methods from the derivationMethod
.
{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.
A boolean that specifies if the type definition is anonymous. Convenience attribute. This is a field is not part of XML Schema component model.
{base type definition} Either a simple type definition or a complex type definition.
{content type} One of empty, a simple type definition (see
simpleType
, or mixed, element-only (see
cmParticle
).
{derivation method} Either extension or restriction. The valid constant
value for this XSConstants
EXTENTION, RESTRICTION.
{final} For complex type definition it is a subset of {extension, restriction}.
The namespace URI of this node, or null
if it is
unspecified. defines how a namespace URI is attached to schema
components.
A namespace schema information item corresponding to the target
namespace of the component, if it is globally declared; or
null
otherwise.
{prohibited substitutions}
A simple type definition corresponding to simple content model,
otherwise null
Get the type of the object, i.e ELEMENT_DECLARATION.
Return whether this type definition is a simple type or complex type.
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
ancestorNS | The namspace of the ancestor type declaration |
---|---|
ancestorName | The name of the ancestor type declaration |
derivationMethod | The derivation method |
{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}.
derivation | Extension, restriction, list, union constants
(defined in XSConstants ). |
---|
{prohibited substitutions} A subset of {extension, restriction}.
prohibited | extention or restriction constants (defined in
XSConstants ). |
---|