org.dom4j.dom

Class DOMComment

public class DOMComment extends DefaultComment implements Comment

DOMText implements a Text node which supports the W3C DOM API.

Version: $Revision: 1.12 $

Author: James Strachan

Constructor Summary
DOMComment(String text)
DOMComment(Element parent, String text)
Method Summary
NodeappendChild(Node newChild)
voidappendData(String arg)
NodecloneNode(boolean deep)
voiddeleteData(int offset, int count)
NamedNodeMapgetAttributes()
NodeListgetChildNodes()
StringgetData()
NodegetFirstChild()
NodegetLastChild()
intgetLength()
StringgetLocalName()
StringgetNamespaceURI()
NodegetNextSibling()
StringgetNodeName()
StringgetNodeValue()
DocumentgetOwnerDocument()
NodegetParentNode()
StringgetPrefix()
NodegetPreviousSibling()
booleanhasAttributes()
booleanhasChildNodes()
NodeinsertBefore(Node newChild, Node refChild)
voidinsertData(int offset, String arg)
booleanisSupported(String feature, String version)
voidnormalize()
NoderemoveChild(Node oldChild)
NodereplaceChild(Node newChild, Node oldChild)
voidreplaceData(int offset, int count, String arg)
voidsetData(String data)
voidsetNodeValue(String nodeValue)
voidsetPrefix(String prefix)
StringsubstringData(int offset, int count)
booleansupports(String feature, String version)

Constructor Detail

DOMComment

public DOMComment(String text)

DOMComment

public DOMComment(Element parent, String text)

Method Detail

appendChild

public Node appendChild(Node newChild)

appendData

public void appendData(String arg)

cloneNode

public Node cloneNode(boolean deep)

deleteData

public void deleteData(int offset, int count)

getAttributes

public NamedNodeMap getAttributes()

getChildNodes

public NodeList getChildNodes()

getData

public String getData()

getFirstChild

public Node getFirstChild()

getLastChild

public Node getLastChild()

getLength

public int getLength()

getLocalName

public String getLocalName()

getNamespaceURI

public String getNamespaceURI()

getNextSibling

public Node getNextSibling()

getNodeName

public String getNodeName()

getNodeValue

public String getNodeValue()

getOwnerDocument

public Document getOwnerDocument()

getParentNode

public Node getParentNode()

getPrefix

public String getPrefix()

getPreviousSibling

public Node getPreviousSibling()

hasAttributes

public boolean hasAttributes()

hasChildNodes

public boolean hasChildNodes()

insertBefore

public Node insertBefore(Node newChild, Node refChild)

insertData

public void insertData(int offset, String arg)

isSupported

public boolean isSupported(String feature, String version)

normalize

public void normalize()

removeChild

public Node removeChild(Node oldChild)

replaceChild

public Node replaceChild(Node newChild, Node oldChild)

replaceData

public void replaceData(int offset, int count, String arg)

setData

public void setData(String data)

setNodeValue

public void setNodeValue(String nodeValue)

setPrefix

public void setPrefix(String prefix)

substringData

public String substringData(int offset, int count)

supports

public boolean supports(String feature, String version)
Copyright B) 2005 MetaStuff Ltd. All Rights Reserved. Hosted by

SourceForge