public class CharacterData extends Node
| Modifier and Type | Class and Description |
|---|---|
static interface |
CharacterData.ReplaceWithNodesUnionType |
EventTarget.AddEventListenerOptionsUnionType, EventTarget.RemoveEventListenerOptionsUnionType| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
data |
int |
length |
Element |
nextElementSibling |
Element |
previousElementSibling |
assignedSlot, ATTRIBUTE_NODE, attributes, baseURI, CDATA_SECTION_NODE, childNodes, 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, firstChild, isConnected, lastChild, localName, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, NOTATION_NODE, ownerDocument, parentNode, prefix, previousSibling, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, textContent, XPATH_NAMESPACE_NODE| Constructor and Description |
|---|
CharacterData() |
| Modifier and Type | Method and Description |
|---|---|
void |
appendData(java.lang.String arg) |
void |
deleteData(int offset,
int count) |
void |
insertData(int offset,
java.lang.String arg) |
void |
remove() |
void |
replaceData(int offset,
int count,
java.lang.String arg) |
void |
replaceWith(CharacterData.ReplaceWithNodesUnionType... nodes) |
void |
replaceWith(Node... nodes) |
void |
replaceWith(java.lang.String... nodes) |
java.lang.String |
substringData(int offset,
int count) |
addEventListener, addEventListener, appendChild, cloneNode, compareDocumentPosition, contains, dispatchEvent, getFeature, getRootNode, getRootNode, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, querySelector, querySelectorAll, removeChild, removeEventListener, removeEventListener, replaceChild, setUserData, setUserDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddEventListener, addEventListener, removeEventListener, removeEventListenerpublic java.lang.String data
public int length
public Element nextElementSibling
public Element previousElementSibling
public void appendData(java.lang.String arg)
public void deleteData(int offset,
int count)
public void insertData(int offset,
java.lang.String arg)
public void remove()
public void replaceData(int offset,
int count,
java.lang.String arg)
public final void replaceWith(Node... nodes)
public void replaceWith(CharacterData.ReplaceWithNodesUnionType... nodes)
public final void replaceWith(java.lang.String... nodes)
public java.lang.String substringData(int offset,
int count)