org.dom4j.dom

Class DOMText

public class DOMText extends DefaultText implements Text

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

Version: $Revision: 1.12 $

Author: James Strachan

Constructor Summary
DOMText(String text)
DOMText(Element parent, String text)
Method Summary
NodeappendChild(Node newChild)
voidappendData(String arg)
NodecloneNode(boolean deep)
protected TextcreateText(String text)
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)
TextsplitText(int offset)
StringsubstringData(int offset, int count)
booleansupports(String feature, String version)

Constructor Detail

DOMText

public DOMText(String text)

DOMText

public DOMText(Element parent, String text)

Method Detail

appendChild

public Node appendChild(Node newChild)

appendData

public void appendData(String arg)

cloneNode

public Node cloneNode(boolean deep)

createText

protected Text createText(String text)

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)

splitText

public Text splitText(int offset)

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