java.lang.Object | |
↳ | org.apache.xerces.impl.xs.XSElementDecl |
The XML representation for an element declaration schema component is an <element> element information item
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
short | SCOPE_ABSENT | ||||||||||
short | SCOPE_GLOBAL | ||||||||||
short | SCOPE_LOCAL |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
fAnnotations | |||||||||||
fBlock | |||||||||||
fDefault | |||||||||||
fFinal | |||||||||||
fName | |||||||||||
fScope | |||||||||||
fSubGroup | |||||||||||
fTargetNamespace | |||||||||||
fType |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
whether two decls are the same
| |||||||||||
{abstract} A boolean.
| |||||||||||
Value Constraint: Binding specific actual constraint value or
null if the value is in error or there is no value
constraint. | |||||||||||
The actual constraint value built-in datatype, e.g.
| |||||||||||
Optional.
| |||||||||||
Optional.
| |||||||||||
A value constraint: one of default, fixed.
| |||||||||||
A value constraint: The actual value (with respect to the {type
definition})
| |||||||||||
The supplied values for {disallowed substitutions}
| |||||||||||
Locally scoped declarations are available for use only within the
complex type definition identified by the
scope
property. | |||||||||||
{identity-constraint definitions} A set of constraint definitions.
| |||||||||||
In the case the actual constraint value represents a list, i.e.
| |||||||||||
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. | |||||||||||
If {nillable} is true, then an element may also be valid if it carries
the namespace qualified attribute with [local name] nil from
namespace http://www.w3.org/2001/XMLSchema-instance and value true
(see xsi:nil (2.6.2)) even if it has no text or element content
despite a {content type} which would otherwise require content.
| |||||||||||
Optional.
| |||||||||||
{substitution group affiliation} Optional.
| |||||||||||
Specifies if this declaration can be nominated as
the {substitution group affiliation} of other
element declarations having the same {type definition}
or types derived therefrom.
| |||||||||||
Get the type of the object, i.e ELEMENT_DECLARATION.
| |||||||||||
Either a simple type definition or a complex type definition.
| |||||||||||
get the hash code
| |||||||||||
Convenience method.
| |||||||||||
Convenience method.
| |||||||||||
Reset current element declaration
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.apache.xerces.xs.XSElementDeclaration
| |||||||||||
From interface
org.apache.xerces.xs.XSObject
|
{abstract} A boolean.
Value Constraint: Binding specific actual constraint value or
null
if the value is in error or there is no value
constraint.
The actual constraint value built-in datatype, e.g.
STRING_DT, SHORT_DT
. If the type definition of this
value is a list type definition, this method returns
LIST_DT
. If the type definition of this value is a list
type definition whose item type is a union type definition, this
method returns LISTOFUNION_DT
. To query the actual
constraint value of the list or list of union type definitions use
itemValueTypes
. If the actualNormalizedValue
is null
, this method returns UNAVAILABLE_DT
.
A value constraint: one of default, fixed.
A value constraint: The actual value (with respect to the {type definition})
The supplied values for {disallowed substitutions}
Locally scoped declarations are available for use only within the
complex type definition identified by the scope
property.
{identity-constraint definitions} A set of constraint definitions.
In the case the actual constraint value represents a list, i.e. the
actualValueType
is LIST_DT
, the returned
array consists of one type kind which represents the itemType. If the
actual constraint value represents a list type definition whose item
type is a union type definition, i.e. LISTOFUNION_DT
,
for each actual constraint value in the list the array contains the
corresponding memberType kind. For examples, see
ItemPSVI.itemValueTypes
.
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.
If {nillable} is true, then an element may also be valid if it carries the namespace qualified attribute with [local name] nil from namespace http://www.w3.org/2001/XMLSchema-instance and value true (see xsi:nil (2.6.2)) even if it has no text or element content despite a {content type} which would otherwise require content.
Optional. Either global or a complex type definition (
ctDefinition
). This property is absent in the case of
declarations within named model groups: their scope will be
determined when they are used in the construction of complex type
definitions.
{substitution group affiliation} Optional. A top-level element definition.
Specifies if this declaration can be nominated as the {substitution group affiliation} of other element declarations having the same {type definition} or types derived therefrom.
Get the type of the object, i.e ELEMENT_DECLARATION.
Either a simple type definition or a complex type definition.
get the hash code
Convenience method. Check if disallowed
is a disallowed
substitution for this element declaration.
disallowed | Substitution, extension, restriction or none. Represents a block set for the element. |
---|
disallowed
is a part of the substitution
group exclusion subset.
Convenience method. Check if exclusion
is a substitution
group exclusion for this element declaration.
exclusion | Extension, restriction or none. Represents final set for the element. |
---|
exclusion
is a part of the substitution
group exclusion subset.
Reset current element declaration