public class ProxyTextNodeAdapter extends ProxyNodeAdapter implements Text
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 and Description |
|---|
ProxyTextNodeAdapter(AdapterFactory factory,
AdapterNode parent,
Text value) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendData(String arg) |
void |
deleteData(int offset,
int count) |
String |
getData() |
int |
getLength() |
String |
getWholeText() |
void |
insertData(int offset,
String arg) |
boolean |
isElementContentWhitespace() |
void |
replaceData(int offset,
int count,
String arg) |
Text |
replaceWholeText(String string) |
void |
setData(String data) |
Text |
splitText(int offset) |
String |
substringData(int offset,
int count) |
String |
toString() |
getAttributes, getLocalName, getNamespaceURI, getNodeName, getNodeType, getNodeValue, getPrefix, hasAttributes, hasChildNodes, isSupported, node, wrap, wrapappendChild, buildChildAdapters, cloneNode, compareDocumentPosition, getAdapterFactory, getBaseURI, getChildAdapters, getChildAfter, getChildBefore, getChildBeforeOrAfter, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFeature, getFirstChild, getLastChild, getNextSibling, getOwnerDocument, getParent, getParentNode, getPreviousSibling, getPropertyName, getPropertyValue, getTextContent, getUserData, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, normalize, operationNotSupported, removeChild, replaceChild, setAdapterFactory, setContext, setNodeValue, setParent, setPrefix, setPropertyName, setPropertyValue, setTextContent, setUserDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitappendChild, 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, setUserDatapublic ProxyTextNodeAdapter(AdapterFactory factory, AdapterNode parent, Text value)
public String toString()
toString in class ProxyNodeAdapterpublic Text splitText(int offset) throws DOMException
splitText in interface TextDOMExceptionpublic int getLength()
getLength in interface CharacterDatapublic void deleteData(int offset,
int count)
throws DOMException
deleteData in interface CharacterDataDOMExceptionpublic String getData() throws DOMException
getData in interface CharacterDataDOMExceptionpublic String substringData(int offset, int count) throws DOMException
substringData in interface CharacterDataDOMExceptionpublic void replaceData(int offset,
int count,
String arg)
throws DOMException
replaceData in interface CharacterDataDOMExceptionpublic void insertData(int offset,
String arg)
throws DOMException
insertData in interface CharacterDataDOMExceptionpublic void appendData(String arg) throws DOMException
appendData in interface CharacterDataDOMExceptionpublic void setData(String data) throws DOMException
setData in interface CharacterDataDOMExceptionpublic boolean isElementContentWhitespace()
isElementContentWhitespace in interface Textpublic String getWholeText()
getWholeText in interface Textpublic Text replaceWholeText(String string) throws DOMException
replaceWholeText in interface TextDOMExceptionCopyright © 2000–2018 Apache Software Foundation. All rights reserved.