Class DOMDocumentImpl
java.lang.Object
org.w3c.tidy.DOMNodeImpl
org.w3c.tidy.DOMDocumentImpl
DOMDocumentImpl.
- Version:
- $Revision$ ($Author$)
- Author:
- Dave Raggett dsr@w3.org , Andy Quick ac.quick@sympatico.ca (translation to Java), Fabrizio Giustina
-
Field Summary
Fields inherited from class DOMNodeImpl
adapteeFields inherited from interface 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 TypeMethodDescriptionTODO DOM level 3 adoptNode() Not implemented.createAttribute(String name) createAttributeNS(String namespaceURI, String qualifiedName) TODO DOM level 2 createAttributeNS() Not supported.createCDATASection(String data) TODO DOM level 2 createCDATASection() Not supported.createComment(String data) TODO DOM level 2 createDocumentFragment() Not implemented.createElement(String tagName) createElementNS(String namespaceURI, String qualifiedName) TODO DOM level 2 createElementNS() Not supported.createEntityReference(String name) TODO DOM level 2 createEntityReference() Not supported.createProcessingInstruction(String target, String data) TODO DOM level 2 createProcessingInstruction() Not supported.createTextNode(String data) TODO DOM level 3 getDocumentURI() Not implemented.TODO DOM level 3 getDomConfig() Not implemented.getElementById(String elementId) TODO DOM level 2 getElementById() Not implemented.getElementsByTagName(String tagname) getElementsByTagNameNS(String namespaceURI, String localName) TODO DOM level 2 getElementsByTagNameNS() Not supported.TODO DOM level 2 getImplementation() Not implemented.TODO DOM level 3 getInputEncoding() Not implemented.shortbooleanTODO DOM level 3 getStrictErrorChecking() Not implemented.TODO DOM level 3 getXmlEncoding() Not implemented.booleanTODO DOM level 3 getXmlStandalone() Not implemented.TODO DOM level 3 getXmlVersion() Not implemented.importNode(Node importedNode, boolean deep) TODO DOM level 2 importNode() Not supported.voidTODO DOM level 3 normalizeDocument() Not implemented.renameNode(Node n, String namespaceURI, String qualifiedName) TODO DOM level 3 renameNode() Not implemented.voidsetDocumentURI(String documentURI) TODO DOM level 3 setDocumentURI() Not implemented.voidsetStrictErrorChecking(boolean strictErrorChecking) TODO DOM level 3 setStrictErrorChecking() Not implemented.voidsetXmlStandalone(boolean xmlStandalone) TODO DOM level 3 setXmlStandalone() Not implemented.voidsetXmlVersion(String xmlVersion) TODO DOM level 3 setXmlVersion() Not implemented.Methods inherited from class 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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
TODO DOM level 2 getImplementation() Not implemented. Throws NOT_SUPPORTED_ERR.- Specified by:
getImplementationin interfaceDocument- See Also:
-
getDocumentElement
- Specified by:
getDocumentElementin interfaceDocument- See Also:
-
createElement
- Specified by:
createElementin interfaceDocument- Throws:
DOMException- See Also:
-
createDocumentFragment
TODO DOM level 2 createDocumentFragment() Not implemented. Throws NOT_SUPPORTED_ERR.- Specified by:
createDocumentFragmentin interfaceDocument- See Also:
-
createTextNode
- Specified by:
createTextNodein interfaceDocument- See Also:
-
createComment
- Specified by:
createCommentin interfaceDocument- See Also:
-
createCDATASection
TODO DOM level 2 createCDATASection() Not supported. Throws NOT_SUPPORTED_ERR.- Specified by:
createCDATASectionin interfaceDocument- Throws:
DOMException- See Also:
-
createProcessingInstruction
public ProcessingInstruction createProcessingInstruction(String target, String data) throws DOMException TODO DOM level 2 createProcessingInstruction() Not supported. Throws NOT_SUPPORTED_ERR.- Specified by:
createProcessingInstructionin interfaceDocument- Throws:
DOMException- See Also:
-
createAttribute
- Specified by:
createAttributein interfaceDocument- Throws:
DOMException- See Also:
-
createEntityReference
TODO DOM level 2 createEntityReference() Not supported. Throws NOT_SUPPORTED_ERR.- Specified by:
createEntityReferencein interfaceDocument- Throws:
DOMException- See Also:
-
getElementsByTagName
- Specified by:
getElementsByTagNamein interfaceDocument- See Also:
-
importNode
TODO DOM level 2 importNode() Not supported. Throws NOT_SUPPORTED_ERR.- Specified by:
importNodein interfaceDocument- Throws:
DOMException- See Also:
-
createAttributeNS
TODO DOM level 2 createAttributeNS() Not supported. Throws NOT_SUPPORTED_ERR.- Specified by:
createAttributeNSin interfaceDocument- Throws:
DOMException- See Also:
-
createElementNS
TODO DOM level 2 createElementNS() Not supported. Throws NOT_SUPPORTED_ERR.- Specified by:
createElementNSin interfaceDocument- Throws:
DOMException- See Also:
-
getElementsByTagNameNS
TODO DOM level 2 getElementsByTagNameNS() Not supported. Throws NOT_SUPPORTED_ERR.- Specified by:
getElementsByTagNameNSin interfaceDocument- See Also:
-
getElementById
TODO DOM level 2 getElementById() Not implemented. Returns null.- Specified by:
getElementByIdin interfaceDocument- See Also:
-
adoptNode
TODO DOM level 3 adoptNode() Not implemented.- Specified by:
adoptNodein interfaceDocument- Throws:
DOMException- See Also:
-
getDocumentURI
TODO DOM level 3 getDocumentURI() Not implemented. Returns null.- Specified by:
getDocumentURIin interfaceDocument- See Also:
-
getDomConfig
TODO DOM level 3 getDomConfig() Not implemented. Returns null.- Specified by:
getDomConfigin interfaceDocument- See Also:
-
getInputEncoding
TODO DOM level 3 getInputEncoding() Not implemented. Returns null.- Specified by:
getInputEncodingin interfaceDocument- See Also:
-
getStrictErrorChecking
public boolean getStrictErrorChecking()TODO DOM level 3 getStrictErrorChecking() Not implemented. Returns true.- Specified by:
getStrictErrorCheckingin interfaceDocument- See Also:
-
getXmlEncoding
TODO DOM level 3 getXmlEncoding() Not implemented. Returns null.- Specified by:
getXmlEncodingin interfaceDocument- See Also:
-
getXmlStandalone
public boolean getXmlStandalone()TODO DOM level 3 getXmlStandalone() Not implemented. Returns false.- Specified by:
getXmlStandalonein interfaceDocument- See Also:
-
getXmlVersion
TODO DOM level 3 getXmlVersion() Not implemented. Always returns "1.0".- Specified by:
getXmlVersionin interfaceDocument- See Also:
-
normalizeDocument
public void normalizeDocument()TODO DOM level 3 normalizeDocument() Not implemented. Do nothing.- Specified by:
normalizeDocumentin interfaceDocument- See Also:
-
renameNode
TODO DOM level 3 renameNode() Not implemented. Throws NOT_SUPPORTED_ERR.- Specified by:
renameNodein interfaceDocument- Throws:
DOMException- See Also:
-
setDocumentURI
TODO DOM level 3 setDocumentURI() Not implemented. Do nothing.- Specified by:
setDocumentURIin interfaceDocument- See Also:
-
setStrictErrorChecking
public void setStrictErrorChecking(boolean strictErrorChecking) TODO DOM level 3 setStrictErrorChecking() Not implemented. Do nothing.- Specified by:
setStrictErrorCheckingin interfaceDocument- See Also:
-
setXmlStandalone
TODO DOM level 3 setXmlStandalone() Not implemented. Do nothing.- Specified by:
setXmlStandalonein interfaceDocument- Throws:
DOMException- See Also:
-
setXmlVersion
TODO DOM level 3 setXmlVersion() Not implemented. Do nothing.- Specified by:
setXmlVersionin interfaceDocument- Throws:
DOMException- See Also:
-