org.w3c.tidy
Class DOMDocumentImpl
java.lang.Object
|
+--org.w3c.tidy.DOMNodeImpl
|
+--org.w3c.tidy.DOMDocumentImpl
- All Implemented Interfaces:
- org.w3c.dom.Document, org.w3c.dom.Node
- public class DOMDocumentImpl
- extends DOMNodeImpl
- implements org.w3c.dom.Document
DOMDocumentImpl
(c) 1998-2000 (W3C) MIT, INRIA, Keio University
See Tidy.java for the copyright notice.
Derived from
HTML Tidy Release 4 Aug 2000
- Version:
- 1.4, 1999/09/04 DOM Support, 1.5, 1999/10/23 Tidy Release 27 Sep 1999, 1.6, 1999/11/01 Tidy Release 22 Oct 1999, 1.7, 1999/12/06 Tidy Release 30 Nov 1999, 1.8, 2000/01/22 Tidy Release 13 Jan 2000, 1.9, 2000/06/03 Tidy Release 30 Apr 2000, 1.10, 2000/07/22 Tidy Release 8 Jul 2000, 1.11, 2000/08/16 Tidy Release 4 Aug 2000
- Author:
- Dave Raggett , Andy Quick (translation to Java)
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Methods inherited from class org.w3c.tidy.DOMNodeImpl |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix, supports |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
DOMDocumentImpl
protected DOMDocumentImpl(Node adaptee)
setTagTable
public void setTagTable(TagTable tt)
getNodeName
public java.lang.String getNodeName()
- Specified by:
getNodeName
in interface org.w3c.dom.Node
- Overrides:
getNodeName
in class DOMNodeImpl
- See Also:
Node.getNodeName()
getNodeType
public short getNodeType()
- Specified by:
getNodeType
in interface org.w3c.dom.Node
- Overrides:
getNodeType
in class DOMNodeImpl
- See Also:
Node.getNodeType()
getDoctype
public org.w3c.dom.DocumentType getDoctype()
- Specified by:
getDoctype
in interface org.w3c.dom.Document
- See Also:
Document.getDoctype()
getImplementation
public org.w3c.dom.DOMImplementation getImplementation()
- Specified by:
getImplementation
in interface org.w3c.dom.Document
- See Also:
Document.getImplementation()
getDocumentElement
public org.w3c.dom.Element getDocumentElement()
- Specified by:
getDocumentElement
in interface org.w3c.dom.Document
- See Also:
Document.getDocumentElement()
createElement
public org.w3c.dom.Element createElement(java.lang.String tagName)
throws org.w3c.dom.DOMException
- Specified by:
createElement
in interface org.w3c.dom.Document
org.w3c.dom.DOMException
- See Also:
Document.createElement(java.lang.String)
createDocumentFragment
public org.w3c.dom.DocumentFragment createDocumentFragment()
- Specified by:
createDocumentFragment
in interface org.w3c.dom.Document
- See Also:
Document.createDocumentFragment()
createTextNode
public org.w3c.dom.Text createTextNode(java.lang.String data)
- Specified by:
createTextNode
in interface org.w3c.dom.Document
- See Also:
Document.createTextNode(java.lang.String)
createComment
public org.w3c.dom.Comment createComment(java.lang.String data)
- Specified by:
createComment
in interface org.w3c.dom.Document
- See Also:
Document.createComment(java.lang.String)
createCDATASection
public org.w3c.dom.CDATASection createCDATASection(java.lang.String data)
throws org.w3c.dom.DOMException
- Specified by:
createCDATASection
in interface org.w3c.dom.Document
org.w3c.dom.DOMException
- See Also:
Document.createCDATASection(java.lang.String)
createProcessingInstruction
public org.w3c.dom.ProcessingInstruction createProcessingInstruction(java.lang.String target,
java.lang.String data)
throws org.w3c.dom.DOMException
- Specified by:
createProcessingInstruction
in interface org.w3c.dom.Document
org.w3c.dom.DOMException
- See Also:
Document.createProcessingInstruction(java.lang.String, java.lang.String)
createAttribute
public org.w3c.dom.Attr createAttribute(java.lang.String name)
throws org.w3c.dom.DOMException
- Specified by:
createAttribute
in interface org.w3c.dom.Document
org.w3c.dom.DOMException
- See Also:
Document.createAttribute(java.lang.String)
createEntityReference
public org.w3c.dom.EntityReference createEntityReference(java.lang.String name)
throws org.w3c.dom.DOMException
- Specified by:
createEntityReference
in interface org.w3c.dom.Document
org.w3c.dom.DOMException
- See Also:
Document.createEntityReference(java.lang.String)
getElementsByTagName
public org.w3c.dom.NodeList getElementsByTagName(java.lang.String tagname)
- Specified by:
getElementsByTagName
in interface org.w3c.dom.Document
- See Also:
Document.getElementsByTagName(java.lang.String)
importNode
public org.w3c.dom.Node importNode(org.w3c.dom.Node importedNode,
boolean deep)
throws org.w3c.dom.DOMException
- DOM2 - not implemented.
- Specified by:
importNode
in interface org.w3c.dom.Document
- Throws:
org.w3c.dom.DOMException
createAttributeNS
public org.w3c.dom.Attr createAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
throws org.w3c.dom.DOMException
- DOM2 - not implemented.
- Specified by:
createAttributeNS
in interface org.w3c.dom.Document
- Throws:
org.w3c.dom.DOMException
createElementNS
public org.w3c.dom.Element createElementNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
throws org.w3c.dom.DOMException
- DOM2 - not implemented.
- Specified by:
createElementNS
in interface org.w3c.dom.Document
- Throws:
org.w3c.dom.DOMException
getElementsByTagNameNS
public org.w3c.dom.NodeList getElementsByTagNameNS(java.lang.String namespaceURI,
java.lang.String localName)
- DOM2 - not implemented.
- Specified by:
getElementsByTagNameNS
in interface org.w3c.dom.Document
getElementById
public org.w3c.dom.Element getElementById(java.lang.String elementId)
- DOM2 - not implemented.
- Specified by:
getElementById
in interface org.w3c.dom.Document
getEncoding
public java.lang.String getEncoding()
setEncoding
public void setEncoding(java.lang.String encoding)
getVersion
public java.lang.String getVersion()
setVersion
public void setVersion(java.lang.String version)
getStandalone
public boolean getStandalone()
setStandalone
public void setStandalone(boolean standalone)
getStrictErrorChecking
public boolean getStrictErrorChecking()
setStrictErrorChecking
public void setStrictErrorChecking(boolean strictErrorChecking)
adoptNode
public org.w3c.dom.Node adoptNode(org.w3c.dom.Node source)
throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
Copyright © 1998-2000 World Wide Web Consortium (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights reserved.