org.w3c.tidy

Class DOMCommentImpl

Implemented Interfaces:
org.w3c.dom.CharacterData, org.w3c.dom.Comment, org.w3c.dom.Node

public class DOMCommentImpl
extends DOMCharacterDataImpl
implements org.w3c.dom.Comment

Tidy implementation of org.w3c.dom.Comment.
Version:
$Revision: 400 $ ($Author: fgiust $)
Authors:
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

adaptee

Constructor Summary

DOMCommentImpl(Node adaptee)
Instantiates a new DOMCommentImpl which wraps the given Node.

Method Summary

String
getNodeName()
short
getNodeType()

Methods inherited from class org.w3c.tidy.DOMCharacterDataImpl

appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringData

Methods inherited from class org.w3c.tidy.DOMNodeImpl

appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, supports

Constructor Details

DOMCommentImpl

protected DOMCommentImpl(Node adaptee)
Instantiates a new DOMCommentImpl which wraps the given Node.
Parameters:
adaptee - wrapped node.

Method Details

getNodeName

public String getNodeName()
Overrides:
getNodeName in interface DOMNodeImpl
See Also:
org.w3c.dom.Node.getNodeName

getNodeType

public short getNodeType()
Overrides:
getNodeType in interface DOMNodeImpl
See Also:
org.w3c.dom.Node.getNodeType