org.apache.xerces.dom3.as.ASContentModel |
This interface is deprecated.
The content model of a declared element.
See also the Document Object Model (DOM) Level 3 Abstract Schemas and Load and Save Specification.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
short | AS_ALL | All of the above. | |||||||||
short | AS_CHOICE | This constant value signifies a choice operator. | |||||||||
short | AS_NONE | None of the above, i.e., neither a choice nor sequence operator. | |||||||||
short | AS_SEQUENCE | This constant value signifies a sequence operator. | |||||||||
int | AS_UNBOUNDED | Signifies unbounded upper limit. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.apache.xerces.dom3.as.ASObject
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Appends a new node to the end of the list representing the
subModels . | |||||||||||
One of
AS_CHOICE , AS_SEQUENCE ,
AS_ALL or AS_NONE . | |||||||||||
maximum occurrence for this content particle.
| |||||||||||
min occurrence for this content particle.
| |||||||||||
Pointers to
ASObject s such as
ASElementDeclaration s and further
ASContentModel s. | |||||||||||
Inserts a new node in the submodel.
| |||||||||||
Removes the
ASObject in the submodel. | |||||||||||
One of
AS_CHOICE , AS_SEQUENCE ,
AS_ALL or AS_NONE . | |||||||||||
maximum occurrence for this content particle.
| |||||||||||
min occurrence for this content particle.
| |||||||||||
Pointers to
ASObject s such as
ASElementDeclaration s and further
ASContentModel s. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.apache.xerces.dom3.as.ASObject
|
All of the above.
This constant value signifies a choice operator. For example, in a DTD,
this would be the '|
' operator.
None of the above, i.e., neither a choice nor sequence operator.
This constant value signifies a sequence operator. For example, in a
DTD, this would be the ',
' operator.
Signifies unbounded upper limit. The MAX_VALUE value is
0xFFFFFFFF FFFFFFFF
. This needs to be better defined in
the generated bindings.
Appends a new node to the end of the list representing the
subModels
.
newNode | The new node to be appended. |
---|
subModels
.DOMASException | DUPLICATE_NAME_ERR : Raised if a element declaration
already exists with the same name within an AS_CHOICE
operator.
TYPE_ERR : Raised if type is neither an
ASContentModel nor an ASElementDeclaration
.
|
---|
One of AS_CHOICE
, AS_SEQUENCE
,
AS_ALL
or AS_NONE
. The operator is applied
to all the components(ASObjects) in the subModels
. For
example, if the list operator is AS_CHOICE
and the
components in subModels are a, b and c then the abstract schema for
the element being declared is (a|b|c)
.
maximum occurrence for this content particle. Its value may be
0
, a positive integer, or AS_UNBOUNDED
to
indicate that no upper limit has been set.
min occurrence for this content particle. Its value may be 0 or a positive integer.
Pointers to ASObject
s such as
ASElementDeclaration
s and further
ASContentModel
s.
Inserts a new node in the submodel. Nodes that already exist in the list are moved as needed.
newNode | The new node to be inserted. |
---|
DOMASException | DUPLICATE_NAME_ERR : Raised if a element declaration
already exists with the same name within an AS_CHOICE
operator.
|
---|
Removes the ASObject
in the submodel. Nodes that already
exist in the list are moved as needed.
oldNode | The node to be removed. |
---|
One of AS_CHOICE
, AS_SEQUENCE
,
AS_ALL
or AS_NONE
. The operator is applied
to all the components(ASObjects) in the subModels
. For
example, if the list operator is AS_CHOICE
and the
components in subModels are a, b and c then the abstract schema for
the element being declared is (a|b|c)
.
maximum occurrence for this content particle. Its value may be
0
, a positive integer, or AS_UNBOUNDED
to
indicate that no upper limit has been set.
min occurrence for this content particle. Its value may be 0 or a positive integer.
Pointers to ASObject
s such as
ASElementDeclaration
s and further
ASContentModel
s.