public class DOMCharacterDataImpl extends DOMNodeImpl implements CharacterData
adapteeATTRIBUTE_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, supportsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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, setUserDataprotected DOMCharacterDataImpl(Node adaptee)
adaptee - wrapped node.public String getData() throws DOMException
getData in interface CharacterDataDOMExceptionCharacterData.getData()public int getLength()
getLength in interface CharacterDataCharacterData.getLength()public String substringData(int offset, int count) throws DOMException
substringData in interface CharacterDataDOMExceptionCharacterData.substringData(int, int)public void setData(String data) throws DOMException
setData in interface CharacterDataDOMExceptionCharacterData.setData(java.lang.String)public void appendData(String arg) throws DOMException
appendData in interface CharacterDataDOMExceptionCharacterData.appendData(java.lang.String)public void insertData(int offset,
String arg)
throws DOMException
insertData in interface CharacterDataDOMExceptionCharacterData.insertData(int, java.lang.String)public void deleteData(int offset,
int count)
throws DOMException
deleteData in interface CharacterDataDOMExceptionCharacterData.deleteData(int, int)public void replaceData(int offset,
int count,
String arg)
throws DOMException
replaceData in interface CharacterDataDOMExceptionCharacterData.replaceData(int, int, java.lang.String)Copyright © 2000–2012 sourceforge. All rights reserved.