public class Text extends NodeImpl implements Text
Text object may represent text that is content or text
that is a comment._isDirty, attributes, children, document, log, name, namespaceURI, parent, prefix, textRepATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE| Constructor and Description |
|---|
Text() |
Text(org.w3c.dom.CharacterData data) |
Text(java.lang.String s) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendData(java.lang.String arg) |
void |
deleteData(int offset,
int count) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getData() |
int |
getLength() |
java.lang.String |
getNodeValue()
Implementation of DOM TEXT Interface
*************************************************************
|
int |
hashCode() |
void |
insertData(int offset,
java.lang.String arg) |
boolean |
isComment()
Retrieves whether this
Text object
represents a comment. |
void |
replaceData(int offset,
int count,
java.lang.String arg) |
void |
setData(java.lang.String data) |
void |
setNodeValue(java.lang.String nodeValue)
The value of this node, depending on its type; see the table above.
|
org.w3c.dom.Text |
splitText(int offset)
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
|
java.lang.String |
substringData(int offset,
int count) |
java.lang.String |
toString() |
appendChild, cloneNode, convertAttrSAXtoDOM, detachNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getOwnerDocument, getParent, getParentElement, getParentNode, getPrefix, getPreviousSibling, getValue, hasAttributes, hasChildNodes, initializeChildren, insertBefore, isDirty, isSupported, makeAttributesEditable, normalize, output, recycleNode, removeChild, replaceChild, reset, setDirty, setDirty, setOwnerDocument, setParent, setParentElement, setPrefix, setValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitdetachNode, getParentElement, getValue, recycleNode, setParentElement, setValuegetWholeText, isElementContentWhitespace, replaceWholeTextappendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setPrefix, setTextContent, setUserDatapublic Text(org.w3c.dom.CharacterData data)
public Text(java.lang.String s)
public Text()
public boolean isComment()
Text object
represents a comment.true if this Text object is
a comment; false otherwisepublic java.lang.String getNodeValue()
throws org.w3c.dom.DOMException
getNodeValue in interface org.w3c.dom.NodegetNodeValue in class NodeImplorg.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.public void setNodeValue(java.lang.String nodeValue)
throws org.w3c.dom.DOMException
NodeImplnull, setting it has no effect.setNodeValue in interface org.w3c.dom.NodesetNodeValue in class NodeImplorg.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.public org.w3c.dom.Text splitText(int offset)
throws org.w3c.dom.DOMException
splitText in interface org.w3c.dom.Textoffset - org.w3c.dom.DOMExceptionpublic java.lang.String getData()
throws org.w3c.dom.DOMException
getData in interface org.w3c.dom.CharacterDataorg.w3c.dom.DOMExceptionpublic void setData(java.lang.String data)
throws org.w3c.dom.DOMException
setData in interface org.w3c.dom.CharacterDataorg.w3c.dom.DOMExceptionpublic int getLength()
getLength in interface org.w3c.dom.CharacterDatapublic java.lang.String substringData(int offset,
int count)
throws org.w3c.dom.DOMException
substringData in interface org.w3c.dom.CharacterDataoffset - count - org.w3c.dom.DOMExceptionpublic void appendData(java.lang.String arg)
throws org.w3c.dom.DOMException
appendData in interface org.w3c.dom.CharacterDataarg - org.w3c.dom.DOMExceptionpublic void insertData(int offset,
java.lang.String arg)
throws org.w3c.dom.DOMException
insertData in interface org.w3c.dom.CharacterDataoffset - arg - org.w3c.dom.DOMExceptionpublic void replaceData(int offset,
int count,
java.lang.String arg)
throws org.w3c.dom.DOMException
replaceData in interface org.w3c.dom.CharacterDataoffset - count - arg - org.w3c.dom.DOMExceptionpublic void deleteData(int offset,
int count)
throws org.w3c.dom.DOMException
deleteData in interface org.w3c.dom.CharacterDataoffset - count - org.w3c.dom.DOMExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright ? 2005 Apache Web Services Project. All Rights Reserved.