Deprecated
This interface extends the Element interface with additional
methods for guided document editing. An object implementing this
interface must also implement NodeEditAS interface.
See also the Document Object Model (DOM) Level 3 Abstract Schemas and Load and Save Specification.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if no reason it can't be done;
false if it can't be done.Name of attribute. attrname)Verifies if an attribute by the given name can be removed. |
| public boolean | Returns: true if no reason it can't be done;
false if it can't be done.The attrNode)Attr node to remove from the
attribute list.Determines if an attribute node can be removed. |
| public boolean | Returns: true if no reason it can't be done;
false if it can't be done.Local name of the attribute to be removed. attrname, String The namespace URI of the attribute to remove. namespaceURI)Verifies if an attribute by the given local name and namespace can be removed. |
| public boolean | Returns: true if no reason it can't be done;
false if it can't be done.Name of attribute. attrname, String Value to be assigned to the attribute. attrval)Determines if the value for specified attribute can be set. |
| public boolean | Returns: true if no reason it can't be done;
false if it can't be done.Node in which the attribute can possibly
be set.Determines if an attribute node can be added with respect to the validity check level.This is an attribute node, there is no need for canSetAttributreNodeNS! |
| public boolean | Returns: true if no reason it can't be done;
false if it can't be done.Qualified name of attribute. name, String Value to be assigned to the attribute. attrval, String namespaceURI of namespace.Determines if the attribute with given namespace and qualified name can be created if not already present in the attribute list of the element. |
| public short | Returns: Constant for one of EMPTY_CONTENTTYPE, ANY_CONTENTTYPE, MIXED_CONTENTTYPE, ELEMENTS_CONTENTTYPE.Determines element content type. |
| public NodeList | Returns: List of possible attributes of this element.Returns an |
| public NodeList | Returns: List of possible children element types of this element.Returns an |
| public NodeList | |
| public NodeList | Returns: List of possible parent element types of this element.Returns an |
| public boolean | Returns: A boolean that istrue if the element is defined,
false otherwise.Name of element. elemTypeName)Determines if this element is defined in the currently active AS. |
| public boolean | Returns: A boolean that istrue if the element is defined,
false otherwise.Name of element. elemTypeName, String namespaceURI of namespace.Qualified name of namespace. This is for sub-elements. name)Determines if this element in this namespace is defined in the currently active AS. |
| canRemoveAttribute | back to summary |
|---|---|
| public boolean canRemoveAttribute(String attrname) Verifies if an attribute by the given name can be removed.
| |
| canRemoveAttributeNode | back to summary |
|---|---|
| public boolean canRemoveAttributeNode(Node attrNode) Determines if an attribute node can be removed.
| |
| canRemoveAttributeNS | back to summary |
|---|---|
| public boolean canRemoveAttributeNS(String attrname, String namespaceURI) Verifies if an attribute by the given local name and namespace can be removed. | |
| canSetAttribute | back to summary |
|---|---|
| public boolean canSetAttribute(String attrname, String attrval) Determines if the value for specified attribute can be set. | |
| canSetAttributeNode | back to summary |
|---|---|
| public boolean canSetAttributeNode(Attr attrNode) Determines if an attribute node can be added with respect to the validity check level.This is an attribute node, there is no need for canSetAttributreNodeNS!
| |
| canSetAttributeNS | back to summary |
|---|---|
| public boolean canSetAttributeNS(String name, String attrval, String namespaceURI) Determines if the attribute with given namespace and qualified name can
be created if not already present in the attribute list of the
element. If the attribute with same qualified name and namespaceURI
is already present in the elements attribute list it tests for the
value of the attribute and its prefix to the new value. See DOM core
| |
| contentType | back to summary |
|---|---|
| public short contentType() Determines element content type.
| |
| getAttributeList | back to summary |
|---|---|
| public NodeList getAttributeList() Returns an
| |
| getChildElements | back to summary |
|---|---|
| public NodeList getChildElements() Returns an
| |
| getDefinedElementTypes | back to summary |
|---|---|
| public NodeList getDefinedElementTypes() The list of qualified element names defined in the abstract schema. | |
| getParentElements | back to summary |
|---|---|
| public NodeList getParentElements() Returns an
| |
| isElementDefined | back to summary |
|---|---|
| public boolean isElementDefined(String elemTypeName) Determines if this element is defined in the currently active AS.
| |
| isElementDefinedNS | back to summary |
|---|---|
| public boolean isElementDefinedNS(String elemTypeName, String namespaceURI, String name) Determines if this element in this namespace is defined in the currently active AS. | |