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 DOMExceptionarg -
- SAAJ 1.2
deleteData
public void deleteData(int offset,
int count)
throws DOMExceptionoffset - count -
- SAAJ 1.2
equals
public boolean equals(Object obj)
getData
public String getData()
throws DOMException- SAAJ 1.2
getLength
public int getLength()
- SAAJ 1.2
getNodeValue
public String getNodeValue()
throws DOMException Implementation of DOM TEXT Interface
*************************************************************
- getNodeValue in interface NodeImpl
getWholeText
public String getWholeText()
DOM Level 3 stubs
hashCode
public int hashCode()
insertData
public void insertData(int offset,
String arg)
throws DOMExceptionoffset - arg -
- SAAJ 1.2
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 DOMExceptionoffset - count - arg -
- SAAJ 1.2
replaceWholeText
public org.w3c.dom.Text replaceWholeText(String content)
setData
public void setData(String data)
throws DOMException- SAAJ 1.2
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
offset -
- SAAJ 1.2
substringData
public String substringData(int offset,
int count)
throws DOMExceptionoffset - count -
- SAAJ 1.2
toString
public String toString()