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.
public interface ElementEditAS extends NodeEditAS
NS_WF_CHECK, PARTIAL_VALIDITY_CHECK, STRICT_VALIDITY_CHECK, WF_CHECK| Modifier and Type | Method and Description | 
|---|---|
| boolean | canRemoveAttribute(String attrname)Deprecated.  Verifies if an attribute by the given name can be removed. | 
| boolean | canRemoveAttributeNode(Node attrNode)Deprecated.  Determines if an attribute node can be removed. | 
| boolean | canRemoveAttributeNS(String attrname,
                    String namespaceURI)Deprecated.  Verifies if an attribute by the given local name and namespace can be 
 removed. | 
| boolean | canSetAttribute(String attrname,
               String attrval)Deprecated.  Determines if the value for specified attribute can be set. | 
| boolean | canSetAttributeNode(Attr attrNode)Deprecated.  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! | 
| boolean | canSetAttributeNS(String name,
                 String attrval,
                 String namespaceURI)Deprecated.  Determines if the attribute with given namespace and qualified name can 
 be created if not already present in the attribute list of the 
 element. | 
| short | contentType()Deprecated.  Determines element content type. | 
| NodeList | getAttributeList()Deprecated.  Returns an  NodeListcontaining all the possibleAttrs that can appear with this type of element. | 
| NodeList | getChildElements()Deprecated.  Returns an  NodeListcontaining the possibleElementnames that can appear as children of this type 
 of element. | 
| NodeList | getDefinedElementTypes()Deprecated.  The list of qualified element names defined in the abstract schema. | 
| NodeList | getParentElements()Deprecated.  Returns an  NodeListcontaining the possibleElementnames that can appear as a parent of this type 
 of element. | 
| boolean | isElementDefined(String elemTypeName)Deprecated.  Determines if this element is defined in the currently active AS. | 
| boolean | isElementDefinedNS(String elemTypeName,
                  String namespaceURI,
                  String name)Deprecated.  Determines if this element in this namespace is defined in the 
 currently active AS. | 
canAppendChild, canInsertBefore, canRemoveChild, canReplaceChild, isNodeValidNodeList getDefinedElementTypes()
short contentType()
boolean canSetAttribute(String attrname, String attrval)
attrname - Name of attribute.attrval - Value to be assigned to the attribute.true if no reason it can't be done; 
   false if it can't be done.boolean canSetAttributeNode(Attr attrNode)
attrNode - Node in which the attribute can possibly 
   be set.true if no reason it can't be done; 
   false if it can't be done.boolean canSetAttributeNS(String name, String attrval, String namespaceURI)
setAttributeNS.name - Qualified name of attribute.attrval - Value to be assigned to the attribute.namespaceURI - namespaceURI of namespace.true if no reason it can't be done; 
   false if it can't be done.boolean canRemoveAttribute(String attrname)
attrname - Name of attribute.true if no reason it can't be done; 
   false if it can't be done.boolean canRemoveAttributeNS(String attrname, String namespaceURI)
attrname - Local name of the attribute to be removed.namespaceURI - The namespace URI of the attribute to remove.true if no reason it can't be done; 
   false if it can't be done.boolean canRemoveAttributeNode(Node attrNode)
attrNode - The Attr node to remove from the 
   attribute list.true if no reason it can't be done; 
   false if it can't be done.NodeList getChildElements()
NodeList containing the possible 
 Element names that can appear as children of this type 
 of element.NodeList getParentElements()
NodeList containing the possible 
 Element names that can appear as a parent of this type 
 of element.NodeList getAttributeList()
NodeList containing all the possible 
 Attrs that can appear with this type of element.boolean isElementDefined(String elemTypeName)
elemTypeName - Name of element.true if the element is defined, 
   false otherwise.boolean isElementDefinedNS(String elemTypeName, String namespaceURI, String name)
elemTypeName - Name of element.namespaceURI - namespaceURI of namespace.name - Qualified name of namespace. This is for sub-elements.true if the element is defined, 
   false otherwise.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.