Deprecated
The element name along with the content specification in the context of an
ASObject.
See also the Document Object Model (DOM) Level 3 Abstract Schemas and Load and Save Specification.
| Modifier and Type | Field and Description |
|---|---|
| public static final short | ANY_CONTENTTYPE
Represents an ANY content type for an Element declaration. |
| public static final short | ELEMENTS_CONTENTTYPE
Represents an ELEMENTS only content type for an Element declaration. |
| public static final short | EMPTY_CONTENTTYPE
Represents an EMPTY content type for an Element declaration. |
| public static final short | MIXED_CONTENTTYPE
Represents a MIXED content type for an Element declaration. |
| Modifier and Type | Method and Description |
|---|---|
| public void | addASAttributeDecl(ASAttributeDeclaration
The new attribute to add. If the attribute
declaration already exists for the element, the call does not have
any effect. attributeDecl)
Deprecated
as a consequence of
Adds an ASAttributeDeclaration being deprecated.
ASAttributeDeclaration for the element being
declared.
|
| public ASNamedObjectMap | getASAttributeDecls()
Deprecated
as a consequence of
TheASNamedObjectMap being deprecated.
ASNamedObjectMap containing
ASAttributeDeclarations for all the attributes that can
appear on this type of element.
|
| public ASContentModel | getAsCM()
Deprecated
as a consequence of
The content model of element.
ASContentModel being deprecated.
|
| public short | |
| public ASDataType | getElementType()
Deprecated
as a consequence of
Datatype of the element.
ASDataType being deprecated.
|
| public boolean | getIsPCDataOnly()
Boolean defining whether the element type contains child elements and PCDATA or PCDATA only for mixed element types. |
| public boolean | getStrictMixedContent()
A boolean defining whether the element order and number of the child elements for mixed content type has to be respected or not. |
| public String | getSystemId()
the URI reference representing the system identifier for the notation
declaration, if present, |
| public ASAttributeDeclaration | Returns: null if the attribute does not exist. Otherwise
returns the attribute being removed.The attribute declaraition to be removed. If the
attribute declaration does not exist for the element, the call does
not have any effect. attributeDecl)
Deprecated
as a consequence of
Removes an ASAttributeDeclaration being deprecated.
ASAttributeDeclaration from the element being
declared.
|
| public void | setASAttributeDecls(ASNamedObjectMap ASAttributeDecls)
Deprecated
as a consequence of
TheASNamedObjectMap being deprecated.
ASNamedObjectMap containing
ASAttributeDeclarations for all the attributes that can
appear on this type of element.
|
| public void | setAsCM(ASContentModel asCM)
Deprecated
as a consequence of
The content model of element.
ASContentModel being deprecated.
|
| public void | |
| public void | setElementType(ASDataType elementType)
Deprecated
as a consequence of
Datatype of the element.
ASDataType being deprecated.
|
| public void | setIsPCDataOnly(boolean isPCDataOnly)
Boolean defining whether the element type contains child elements and PCDATA or PCDATA only for mixed element types. |
| public void | setStrictMixedContent(boolean strictMixedContent)
A boolean defining whether the element order and number of the child elements for mixed content type has to be respected or not. |
| public void | setSystemId(String systemId)
the URI reference representing the system identifier for the notation
declaration, if present, |
| ANY_CONTENTTYPE | back to summary |
|---|---|
| public static final short ANY_CONTENTTYPE Represents an ANY content type for an Element declaration. | |
| ELEMENTS_CONTENTTYPE | back to summary |
|---|---|
| public static final short ELEMENTS_CONTENTTYPE Represents an ELEMENTS only content type for an Element declaration. | |
| EMPTY_CONTENTTYPE | back to summary |
|---|---|
| public static final short EMPTY_CONTENTTYPE Represents an EMPTY content type for an Element declaration. | |
| MIXED_CONTENTTYPE | back to summary |
|---|---|
| public static final short MIXED_CONTENTTYPE Represents a MIXED content type for an Element declaration. Note that
| |
| addASAttributeDecl | back to summary |
|---|---|
| public void addASAttributeDecl(ASAttributeDeclaration attributeDecl)
Deprecated as a consequence of Adds an
| |
| getASAttributeDecls | back to summary |
|---|---|
| public ASNamedObjectMap getASAttributeDecls()
Deprecated as a consequence of The | |
| getAsCM | back to summary |
|---|---|
| public ASContentModel getAsCM()
Deprecated as a consequence of The content model of element. | |
| getContentType | back to summary |
|---|---|
| public short getContentType() The content type of the element. One of | |
| getElementType | back to summary |
|---|---|
| public ASDataType getElementType()
Deprecated as a consequence of Datatype of the element. | |
| getIsPCDataOnly | back to summary |
|---|---|
| public boolean getIsPCDataOnly() Boolean defining whether the element type contains child elements and
PCDATA or PCDATA only for mixed element types. | |
| getStrictMixedContent | back to summary |
|---|---|
| public boolean getStrictMixedContent() A boolean defining whether the element order and number of the child elements for mixed content type has to be respected or not. For example XML Schema defined mixed content types the order is important and needs to be respected whether for DTD based AS the order and number of child elements are not important. | |
| getSystemId | back to summary |
|---|---|
| public String getSystemId() the URI reference representing the system identifier for the notation
declaration, if present, | |
| removeASAttributeDecl | back to summary |
|---|---|
| public ASAttributeDeclaration removeASAttributeDecl(ASAttributeDeclaration attributeDecl)
Deprecated as a consequence of Removes an
| |
| setASAttributeDecls | back to summary |
|---|---|
| public void setASAttributeDecls(ASNamedObjectMap ASAttributeDecls)
Deprecated as a consequence of The | |
| setAsCM | back to summary |
|---|---|
| public void setAsCM(ASContentModel asCM)
Deprecated as a consequence of The content model of element. | |
| setContentType | back to summary |
|---|---|
| public void setContentType(short contentType) The content type of the element. One of | |
| setElementType | back to summary |
|---|---|
| public void setElementType(ASDataType elementType)
Deprecated as a consequence of Datatype of the element. | |
| setIsPCDataOnly | back to summary |
|---|---|
| public void setIsPCDataOnly(boolean isPCDataOnly) Boolean defining whether the element type contains child elements and
PCDATA or PCDATA only for mixed element types. | |
| setStrictMixedContent | back to summary |
|---|---|
| public void setStrictMixedContent(boolean strictMixedContent) A boolean defining whether the element order and number of the child elements for mixed content type has to be respected or not. For example XML Schema defined mixed content types the order is important and needs to be respected whether for DTD based AS the order and number of child elements are not important. | |
| setSystemId | back to summary |
|---|---|
| public void setSystemId(String systemId) the URI reference representing the system identifier for the notation
declaration, if present, | |