A representation of a node whose value is text. A
Text
object may represent text that is content or text
that is a comment.
appendData
public void appendData(String arg)
throws DOMException
deleteData
public void deleteData(int offset,
int count)
throws DOMException
equals
public boolean equals(Object obj)
getData
public String getData()
throws DOMException
getLength
public int getLength()
getNodeValue
public String getNodeValue()
throws DOMException
Implementation of DOM TEXT Interface
*************************************************************
- getNodeValue in interface NodeImpl
getWholeText
public String getWholeText()
hashCode
public int hashCode()
insertData
public void insertData(int offset,
String arg)
throws DOMException
isComment
public boolean isComment()
Retrieves whether this Text
object
represents a comment.
- isComment in interface Text
true
if this Text
object is
a comment; false
otherwise
isElementContentWhitespace
public boolean isElementContentWhitespace()
replaceData
public void replaceData(int offset,
int count,
String arg)
throws DOMException
replaceWholeText
public org.w3c.dom.Text replaceWholeText(String content)
setData
public void setData(String data)
throws DOMException
setNodeValue
public void setNodeValue(String nodeValue)
throws DOMException
- setNodeValue in interface NodeImpl
splitText
public org.w3c.dom.Text splitText(int offset)
throws DOMException
Use the textRep, and convert it to org.apache.axis.Text
in order to keep the Axis SOAP strcture after operation
This work would be easier if constructor, Text(org.w3c.dom.Text)
is defined
substringData
public String substringData(int offset,
int count)
throws DOMException
toString
public String toString()