public class DOMCharacterDataImpl extends DOMNodeImpl implements CharacterData
adaptee
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
Modifier | Constructor and Description |
---|---|
protected |
DOMCharacterDataImpl(Node adaptee)
Instantiates a new DOMCharacterDataImpl which wraps the given Node.
|
Modifier and Type | Method and Description |
---|---|
void |
appendData(String arg) |
void |
deleteData(int offset,
int count) |
String |
getData() |
int |
getLength() |
void |
insertData(int offset,
String arg) |
void |
replaceData(int offset,
int count,
String arg) |
void |
setData(String data) |
String |
substringData(int offset,
int count) |
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, supports
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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
protected DOMCharacterDataImpl(Node adaptee)
adaptee
- wrapped node.public String getData() throws DOMException
getData
in interface CharacterData
DOMException
CharacterData.getData()
public int getLength()
getLength
in interface CharacterData
CharacterData.getLength()
public String substringData(int offset, int count) throws DOMException
substringData
in interface CharacterData
DOMException
CharacterData.substringData(int, int)
public void setData(String data) throws DOMException
setData
in interface CharacterData
DOMException
CharacterData.setData(java.lang.String)
public void appendData(String arg) throws DOMException
appendData
in interface CharacterData
DOMException
CharacterData.appendData(java.lang.String)
public void insertData(int offset, String arg) throws DOMException
insertData
in interface CharacterData
DOMException
CharacterData.insertData(int, java.lang.String)
public void deleteData(int offset, int count) throws DOMException
deleteData
in interface CharacterData
DOMException
CharacterData.deleteData(int, int)
public void replaceData(int offset, int count, String arg) throws DOMException
replaceData
in interface CharacterData
DOMException
CharacterData.replaceData(int, int, java.lang.String)
Copyright © 2000–2012 sourceforge. All rights reserved.