1 12 13 package org.w3c.dom; 14 15 32 public interface Element extends Node { 33 45 public String getTagName(); 46 47 53 public String getAttribute(String name); 54 55 77 public void setAttribute(String name, 78 String value) 79 throws DOMException ; 80 81 96 public void removeAttribute(String name) 97 throws DOMException ; 98 99 109 public Attr getAttributeNode(String name); 110 111 131 public Attr setAttributeNode(Attr newAttr) 132 throws DOMException ; 133 134 151 public Attr removeAttributeNode(Attr oldAttr) 152 throws DOMException ; 153 154 161 public NodeList getElementsByTagName(String name); 162 163 179 public String getAttributeNS(String namespaceURI, 180 String localName) 181 throws DOMException ; 182 183 225 public void setAttributeNS(String namespaceURI, 226 String qualifiedName, 227 String value) 228 throws DOMException ; 229 230 254 public void removeAttributeNS(String namespaceURI, 255 String localName) 256 throws DOMException ; 257 258 275 public Attr getAttributeNodeNS(String namespaceURI, 276 String localName) 277 throws DOMException ; 278 279 305 public Attr setAttributeNodeNS(Attr newAttr) 306 throws DOMException ; 307 308 324 public NodeList getElementsByTagNameNS(String namespaceURI, 325 String localName) 326 throws DOMException ; 327 328 338 public boolean hasAttribute(String name); 339 340 359 public boolean hasAttributeNS(String namespaceURI, 360 String localName) 361 throws DOMException ; 362 363 367 public TypeInfo getSchemaTypeInfo(); 368 369 389 public void setIdAttribute(String name, 390 boolean isId) 391 throws DOMException ; 392 393 412 public void setIdAttributeNS(String namespaceURI, 413 String localName, 414 boolean isId) 415 throws DOMException ; 416 417 435 public void setIdAttributeNode(Attr idAttr, 436 boolean isId) 437 throws DOMException ; 438 439 } 440 | Popular Tags |