1 12 13 package org.apache.xerces.dom3.as; 14 15 import org.w3c.dom.Node ; 16 import org.w3c.dom.NodeList ; 17 import org.w3c.dom.Attr ; 18 19 27 public interface ElementEditAS extends NodeEditAS { 28 31 public NodeList getDefinedElementTypes(); 32 33 38 public short contentType(); 39 40 47 public boolean canSetAttribute(String attrname, 48 String attrval); 49 50 59 public boolean canSetAttributeNode(Attr attrNode); 60 61 74 public boolean canSetAttributeNS(String name, 75 String attrval, 76 String namespaceURI); 77 78 84 public boolean canRemoveAttribute(String attrname); 85 86 94 public boolean canRemoveAttributeNS(String attrname, 95 String namespaceURI); 96 97 104 public boolean canRemoveAttributeNode(Node attrNode); 105 106 112 public NodeList getChildElements(); 113 114 120 public NodeList getParentElements(); 121 122 127 public NodeList getAttributeList(); 128 129 135 public boolean isElementDefined(String elemTypeName); 136 137 146 public boolean isElementDefinedNS(String elemTypeName, 147 String namespaceURI, 148 String name); 149 150 } 151 | Popular Tags |