public interface CharacterData extends Node
Text
, Comment
, and CDATASection
all implement CharacterData, which in turn also implements Node
. See Node
for the remaining methods, properties, and constants.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 and Type | Method and Description |
---|---|
void |
appendData(String data) |
void |
deleteData(int offset,
int length) |
String |
getData() |
int |
getLength() |
void |
insertData(int offset,
String data) |
void |
replaceData(int offset,
int length,
String data) |
void |
setData(String arg) |
String |
substringData(int offset,
int length) |
addEventListener, addEventListener, appendChild, cloneNode, compareDocumentPosition, contains, dispatchEvent, getAttributes, getBaseURI, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousSibling, getTextContent, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, removeEventListener, removeEventListener, replaceChild, setNodeValue, setPrefix, setTextContent
String getData()
void setData(String arg)
int getLength()
void appendData(String data)
void deleteData(int offset, int length)
void insertData(int offset, String data)
void replaceData(int offset, int length, String data)
String substringData(int offset, int length)
Copyright © 2016. All rights reserved.