xtc.driver.XTCdom
Class Text

java.lang.Object
  extended by xtc.driver.XTCdom.Node
      extended by xtc.driver.XTCdom.CharacterData
          extended by xtc.driver.XTCdom.Text
All Implemented Interfaces:
CharacterData, Node, Text

public class Text
extends CharacterData
implements Text


Field Summary
 
Fields inherited from class xtc.driver.XTCdom.Node
connectionID, nodeBuffer, nodeName, nodeType, nodeValue, transaction, xtcDomRmi
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_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 Summary
Text(String value)
           
Text(String value, NodeBuffer nodeBuffer)
           
Text(XTCconnectionID sessionID, XTCtransaction transaction, XTCdomRmi xtcDomRmi, XTCnode nodeName, NodeBuffer nodeBuffer)
           
 
Method Summary
 String getWholeText()
           
 boolean isElementContentWhitespace()
           
 Text replaceWholeText(String content)
           
 Text splitText(int offset)
           
 
Methods inherited from class xtc.driver.XTCdom.CharacterData
appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringData
 
Methods inherited from class xtc.driver.XTCdom.Node
appendChild, cloneNode, compareDocumentPosition, createDomNode, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getFragmentNodes, getLastChild, getLocalName, getMD5hashCode, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, getXTCdomRmi, getXTCnameID, getXTCvalueID, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.CharacterData
appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringData
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
 

Constructor Detail

Text

public Text(String value)

Text

public Text(String value,
            NodeBuffer nodeBuffer)

Text

public Text(XTCconnectionID sessionID,
            XTCtransaction transaction,
            XTCdomRmi xtcDomRmi,
            XTCnode nodeName,
            NodeBuffer nodeBuffer)
Method Detail

getWholeText

public String getWholeText()
                    throws DOMException
Specified by:
getWholeText in interface Text
Throws:
DOMException

isElementContentWhitespace

public boolean isElementContentWhitespace()
                                   throws DOMException
Specified by:
isElementContentWhitespace in interface Text
Throws:
DOMException

replaceWholeText

public Text replaceWholeText(String content)
                      throws DOMException
Specified by:
replaceWholeText in interface Text
Throws:
DOMException

splitText

public Text splitText(int offset)
               throws DOMException
Specified by:
splitText in interface Text
Throws:
DOMException