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, wrap
appendChild, 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, setUserData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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
public ProxyTextNodeAdapter(AdapterFactory factory, AdapterNode parent, Text value)
public String toString()
toString
in class ProxyNodeAdapter
public Text splitText(int offset) throws DOMException
splitText
in interface Text
DOMException
public int getLength()
getLength
in interface CharacterData
public void deleteData(int offset, int count) throws DOMException
deleteData
in interface CharacterData
DOMException
public String getData() throws DOMException
getData
in interface CharacterData
DOMException
public String substringData(int offset, int count) throws DOMException
substringData
in interface CharacterData
DOMException
public void replaceData(int offset, int count, String arg) throws DOMException
replaceData
in interface CharacterData
DOMException
public void insertData(int offset, String arg) throws DOMException
insertData
in interface CharacterData
DOMException
public void appendData(String arg) throws DOMException
appendData
in interface CharacterData
DOMException
public void setData(String data) throws DOMException
setData
in interface CharacterData
DOMException
public boolean isElementContentWhitespace()
isElementContentWhitespace
in interface Text
public String getWholeText()
getWholeText
in interface Text
public Text replaceWholeText(String string) throws DOMException
replaceWholeText
in interface Text
DOMException
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.