1 12 13 package org.w3c.dom; 14 15 27 public interface Document extends Node { 28 48 public DocumentType getDoctype(); 49 50 54 public DOMImplementation getImplementation(); 55 56 60 public Element getDocumentElement(); 61 62 85 public Element createElement(String tagName) 86 throws DOMException ; 87 88 92 public DocumentFragment createDocumentFragment(); 93 94 99 public Text createTextNode(String data); 100 101 106 public Comment createComment(String data); 107 108 116 public CDATASection createCDATASection(String data) 117 throws DOMException ; 118 119 137 public ProcessingInstruction createProcessingInstruction(String target, 138 String data) 139 throws DOMException ; 140 141 157 public Attr createAttribute(String name) 158 throws DOMException ; 159 160 185 public EntityReference createEntityReference(String name) 186 throws DOMException ; 187 188 199 public NodeList getElementsByTagName(String tagname); 200 201 312 public Node importNode(Node importedNode, 313 boolean deep) 314 throws DOMException ; 315 316 376 public Element createElementNS(String namespaceURI, 377 String qualifiedName) 378 throws DOMException ; 379 380 445 public Attr createAttributeNS(String namespaceURI, 446 String qualifiedName) 447 throws DOMException ; 448 449 460 public NodeList getElementsByTagNameNS(String namespaceURI, 461 String localName); 462 463 476 public Element getElementById(String elementId); 477 478 484 public String getInputEncoding(); 485 486 492 public String getXmlEncoding(); 493 494 504 public boolean getXmlStandalone(); 505 518 public void setXmlStandalone(boolean xmlStandalone) 519 throws DOMException ; 520 521 545 public String getXmlVersion(); 546 574 public void setXmlVersion(String xmlVersion) 575 throws DOMException ; 576 577 587 public boolean getStrictErrorChecking(); 588 598 public void setStrictErrorChecking(boolean strictErrorChecking); 599 600 613 public String getDocumentURI(); 614 627 public void setDocumentURI(String documentURI); 628 629 698 public Node adoptNode(Node source) 699 throws DOMException ; 700 701 706 public DOMConfiguration getDomConfig(); 707 708 740 public void normalizeDocument(); 741 742 809 public Node renameNode(Node n, 810 String namespaceURI, 811 String qualifiedName) 812 throws DOMException ; 813 814 } 815 | Popular Tags |