org.w3c.tidy
Class DOMDocumentImpl
org.w3c.tidy.DOMDocumentImpl
- public class DOMDocumentImpl
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
- Author:
- Dave Raggett , Andy Quick (translation to Java)
DOMDocumentImpl
protected DOMDocumentImpl(Node adaptee)
setTagTable
public void setTagTable(TagTable tt)
getNodeName
public String getNodeName()
- See Also:
org.w3c.dom.Node#getNodeName
getNodeType
public short getNodeType()
- See Also:
org.w3c.dom.Node#getNodeType
getDoctype
public DocumentType getDoctype()
- See Also:
org.w3c.dom.Document#getDoctype
getImplementation
public DOMImplementation getImplementation()
- See Also:
org.w3c.dom.Document#getImplementation
getDocumentElement
public Element getDocumentElement()
- See Also:
org.w3c.dom.Document#getDocumentElement
createElement
public Element createElement(String tagName)
throws DOMException
- See Also:
org.w3c.dom.Document#createElement
createDocumentFragment
public DocumentFragment createDocumentFragment()
- See Also:
org.w3c.dom.Document#createDocumentFragment
createTextNode
public Text createTextNode(String data)
- See Also:
org.w3c.dom.Document#createTextNode
createComment
public Comment createComment(String data)
- See Also:
org.w3c.dom.Document#createComment
createCDATASection
public CDATASection createCDATASection(String data)
throws DOMException
- See Also:
org.w3c.dom.Document#createCDATASection
createProcessingInstruction
public ProcessingInstruction createProcessingInstruction(String target,
String data)
throws DOMException
- See Also:
org.w3c.dom.Document#createProcessingInstruction
createAttribute
public Attr createAttribute(String name)
throws DOMException
- See Also:
org.w3c.dom.Document#createAttribute
createEntityReference
public EntityReference createEntityReference(String name)
throws DOMException
- See Also:
org.w3c.dom.Document#createEntityReference
getElementsByTagName
public NodeList getElementsByTagName(String tagname)
- See Also:
org.w3c.dom.Document#getElementsByTagName
importNode
public Node importNode(Node importedNode,
boolean deep)
throws DOMException
- DOM2 - not implemented.
- Throws:
DOMException
-
createAttributeNS
public Attr createAttributeNS(String namespaceURI,
String qualifiedName)
throws DOMException
- DOM2 - not implemented.
- Throws:
DOMException
-
createElementNS
public Element createElementNS(String namespaceURI,
String qualifiedName)
throws DOMException
- DOM2 - not implemented.
- Throws:
DOMException
-
getElementsByTagNameNS
public NodeList getElementsByTagNameNS(String namespaceURI,
String localName)
- DOM2 - not implemented.
getElementById
public Element getElementById(String elementId)
- DOM2 - not implemented.
getEncoding
public String getEncoding()
setEncoding
public void setEncoding(String encoding)
getVersion
public String getVersion()
setVersion
public void setVersion(String version)
getStandalone
public boolean getStandalone()
setStandalone
public void setStandalone(boolean standalone)
getStrictErrorChecking
public boolean getStrictErrorChecking()
setStrictErrorChecking
public void setStrictErrorChecking(boolean strictErrorChecking)
adoptNode
public Node adoptNode(Node source)
throws 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.