public class DOMDocumentImpl extends DOMNodeImpl implements Document
adapteeATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE| Modifier | Constructor and Description |
|---|---|
protected |
DOMDocumentImpl(Node adaptee)
Instantiates a new Dom document with a default tag table.
|
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, supportsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDataprotected DOMDocumentImpl(Node adaptee)
adaptee - tidy Nodepublic String getNodeName()
getNodeName in interface NodegetNodeName in class DOMNodeImplNode.getNodeName()public short getNodeType()
getNodeType in interface NodegetNodeType in class DOMNodeImplNode.getNodeType()public DocumentType getDoctype()
getDoctype in interface DocumentDocument.getDoctype()public DOMImplementation getImplementation()
getImplementation in interface DocumentDocument.getImplementation()public Element getDocumentElement()
getDocumentElement in interface DocumentDocument.getDocumentElement()public Element createElement(String tagName) throws DOMException
createElement in interface DocumentDOMExceptionDocument.createElement(java.lang.String)public DocumentFragment createDocumentFragment()
createDocumentFragment in interface DocumentDocument.createDocumentFragment()public Text createTextNode(String data)
createTextNode in interface DocumentDocument.createTextNode(java.lang.String)public Comment createComment(String data)
createComment in interface DocumentDocument.createComment(java.lang.String)public CDATASection createCDATASection(String data) throws DOMException
createCDATASection in interface DocumentDOMExceptionDocument.createCDATASection(java.lang.String)public ProcessingInstruction createProcessingInstruction(String target, String data) throws DOMException
createProcessingInstruction in interface DocumentDOMExceptionDocument.createProcessingInstruction(java.lang.String, java.lang.String)public Attr createAttribute(String name) throws DOMException
createAttribute in interface DocumentDOMExceptionDocument.createAttribute(java.lang.String)public EntityReference createEntityReference(String name) throws DOMException
createEntityReference in interface DocumentDOMExceptionDocument.createEntityReference(java.lang.String)public NodeList getElementsByTagName(String tagname)
getElementsByTagName in interface DocumentDocument.getElementsByTagName(java.lang.String)public Node importNode(Node importedNode, boolean deep) throws DOMException
importNode in interface DocumentDOMExceptionDocument.importNode(org.w3c.dom.Node, boolean)public Attr createAttributeNS(String namespaceURI, String qualifiedName) throws DOMException
createAttributeNS in interface DocumentDOMExceptionDocument.createAttributeNS(java.lang.String, java.lang.String)public Element createElementNS(String namespaceURI, String qualifiedName) throws DOMException
createElementNS in interface DocumentDOMExceptionDocument.createElementNS(java.lang.String, java.lang.String)public NodeList getElementsByTagNameNS(String namespaceURI, String localName)
getElementsByTagNameNS in interface DocumentDocument.getElementsByTagNameNS(java.lang.String, java.lang.String)public Element getElementById(String elementId)
getElementById in interface DocumentDocument.getElementById(java.lang.String)public Node adoptNode(Node source) throws DOMException
adoptNode in interface DocumentDOMExceptionDocument.adoptNode(org.w3c.dom.Node)public String getDocumentURI()
getDocumentURI in interface DocumentDocument.getDocumentURI()public DOMConfiguration getDomConfig()
getDomConfig in interface DocumentDocument.getDomConfig()public String getInputEncoding()
getInputEncoding in interface DocumentDocument.getInputEncoding()public boolean getStrictErrorChecking()
getStrictErrorChecking in interface DocumentDocument.getStrictErrorChecking()public String getXmlEncoding()
getXmlEncoding in interface DocumentDocument.getXmlEncoding()public boolean getXmlStandalone()
getXmlStandalone in interface DocumentDocument.getXmlStandalone()public String getXmlVersion()
getXmlVersion in interface DocumentDocument.getXmlVersion()public void normalizeDocument()
normalizeDocument in interface DocumentDocument.normalizeDocument()public Node renameNode(Node n, String namespaceURI, String qualifiedName) throws DOMException
renameNode in interface DocumentDOMExceptionDocument.renameNode(org.w3c.dom.Node, java.lang.String, java.lang.String)public void setDocumentURI(String documentURI)
setDocumentURI in interface DocumentDocument.setDocumentURI(java.lang.String)public void setStrictErrorChecking(boolean strictErrorChecking)
setStrictErrorChecking in interface DocumentDocument.setStrictErrorChecking(boolean)public void setXmlStandalone(boolean xmlStandalone)
throws DOMException
setXmlStandalone in interface DocumentDOMExceptionDocument.setXmlStandalone(boolean)public void setXmlVersion(String xmlVersion) throws DOMException
setXmlVersion in interface DocumentDOMExceptionDocument.setXmlVersion(java.lang.String)Copyright © 2000–2012 sourceforge. All rights reserved.