Package org.w3c.tidy
Class DOMDocumentImpl
java.lang.Object
org.w3c.tidy.DOMNodeImpl
org.w3c.tidy.DOMDocumentImpl
DOMDocumentImpl.
- Version:
- $Revision: 738 $ ($Author: fgiust $)
- Author:
- Dave Raggett dsr@w3.org , Andy Quick ac.quick@sympatico.ca (translation to Java), Fabrizio Giustina
-
Field Summary
Fields inherited from class org.w3c.tidy.DOMNodeImpl
adapteeFields inherited from interface org.w3c.dom.Node
ATTRIBUTE_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 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDOMDocumentImpl(Node adaptee) Instantiates a new Dom document with a default tag table. -
Method Summary
Modifier and TypeMethodDescriptioncreateAttribute(String name) createAttributeNS(String namespaceURI, String qualifiedName) createCDATASection(String data) createComment(String data) createElement(String tagName) createElementNS(String namespaceURI, String qualifiedName) createEntityReference(String name) createProcessingInstruction(String target, String data) createTextNode(String data) getElementById(String elementId) getElementsByTagName(String tagname) getElementsByTagNameNS(String namespaceURI, String localName) shortbooleanbooleanimportNode(Node importedNode, boolean deep) voidrenameNode(Node n, String namespaceURI, String qualifiedName) voidsetDocumentURI(String documentURI) voidsetStrictErrorChecking(boolean strictErrorChecking) voidsetXmlStandalone(boolean xmlStandalone) voidsetXmlVersion(String xmlVersion) Methods inherited from class org.w3c.tidy.DOMNodeImpl
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, supportsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.w3c.dom.Node
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
-
Constructor Details
-
DOMDocumentImpl
Instantiates a new Dom document with a default tag table.- Parameters:
adaptee- tidy Node
-
-
Method Details
-
getNodeName
- Specified by:
getNodeNamein interfaceNode- Overrides:
getNodeNamein classDOMNodeImpl- See Also:
-
getNodeType
public short getNodeType()- Specified by:
getNodeTypein interfaceNode- Overrides:
getNodeTypein classDOMNodeImpl- See Also:
-
getDoctype
- Specified by:
getDoctypein interfaceDocument- See Also:
-
getImplementation
- Specified by:
getImplementationin interfaceDocument- See Also:
-
getDocumentElement
- Specified by:
getDocumentElementin interfaceDocument- See Also:
-
createElement
- Specified by:
createElementin interfaceDocument- Throws:
DOMException- See Also:
-
createDocumentFragment
- Specified by:
createDocumentFragmentin interfaceDocument- See Also:
-
createTextNode
- Specified by:
createTextNodein interfaceDocument- See Also:
-
createComment
- Specified by:
createCommentin interfaceDocument- See Also:
-
createCDATASection
- Specified by:
createCDATASectionin interfaceDocument- Throws:
DOMException- See Also:
-
createProcessingInstruction
public ProcessingInstruction createProcessingInstruction(String target, String data) throws DOMException - Specified by:
createProcessingInstructionin interfaceDocument- Throws:
DOMException- See Also:
-
createAttribute
- Specified by:
createAttributein interfaceDocument- Throws:
DOMException- See Also:
-
createEntityReference
- Specified by:
createEntityReferencein interfaceDocument- Throws:
DOMException- See Also:
-
getElementsByTagName
- Specified by:
getElementsByTagNamein interfaceDocument- See Also:
-
importNode
- Specified by:
importNodein interfaceDocument- Throws:
DOMException- See Also:
-
createAttributeNS
- Specified by:
createAttributeNSin interfaceDocument- Throws:
DOMException- See Also:
-
createElementNS
- Specified by:
createElementNSin interfaceDocument- Throws:
DOMException- See Also:
-
getElementsByTagNameNS
- Specified by:
getElementsByTagNameNSin interfaceDocument- See Also:
-
getElementById
- Specified by:
getElementByIdin interfaceDocument- See Also:
-
adoptNode
- Specified by:
adoptNodein interfaceDocument- Throws:
DOMException- See Also:
-
getDocumentURI
- Specified by:
getDocumentURIin interfaceDocument- See Also:
-
getDomConfig
- Specified by:
getDomConfigin interfaceDocument- See Also:
-
getInputEncoding
- Specified by:
getInputEncodingin interfaceDocument- See Also:
-
getStrictErrorChecking
public boolean getStrictErrorChecking()- Specified by:
getStrictErrorCheckingin interfaceDocument- See Also:
-
getXmlEncoding
- Specified by:
getXmlEncodingin interfaceDocument- See Also:
-
getXmlStandalone
public boolean getXmlStandalone()- Specified by:
getXmlStandalonein interfaceDocument- See Also:
-
getXmlVersion
- Specified by:
getXmlVersionin interfaceDocument- See Also:
-
normalizeDocument
public void normalizeDocument()- Specified by:
normalizeDocumentin interfaceDocument- See Also:
-
renameNode
- Specified by:
renameNodein interfaceDocument- Throws:
DOMException- See Also:
-
setDocumentURI
- Specified by:
setDocumentURIin interfaceDocument- See Also:
-
setStrictErrorChecking
public void setStrictErrorChecking(boolean strictErrorChecking) - Specified by:
setStrictErrorCheckingin interfaceDocument- See Also:
-
setXmlStandalone
- Specified by:
setXmlStandalonein interfaceDocument- Throws:
DOMException- See Also:
-
setXmlVersion
- Specified by:
setXmlVersionin interfaceDocument- Throws:
DOMException- See Also:
-