@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="CharacterData")
public class CharacterData
extends Node
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
data |
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, nodeValue, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, textContent| Modifier | Constructor and Description |
|---|---|
protected |
CharacterData() |
| Modifier and Type | Method and Description |
|---|---|
void |
after(Node... nodes)
The ChildNode.after() method inserts a set of Node or DOMString objects in the children list of this ChildNode's parent, just after this ChildNode.
|
void |
after(java.lang.String... nodes)
The ChildNode.after() method inserts a set of Node or DOMString objects in the children list of this ChildNode's parent, just after this ChildNode.
|
void |
appendData(java.lang.String data) |
void |
before(Node... nodes)
The ChildNode.before() method inserts a set of Node or DOMString objects in the children list of this ChildNode's parent, just before this ChildNode.
|
void |
before(java.lang.String... nodes)
The ChildNode.before() method inserts a set of Node or DOMString objects in the children list of this ChildNode's parent, just before this ChildNode.
|
void |
deleteData(int offset,
int count) |
void |
insertData(int offset,
java.lang.String data) |
int |
length() |
Element |
nextElementSibling()
The NonDocumentTypeChildNode.nextElementSibling read-only property returns the element immediately following the specified one in its parent's children list, or null if the specified element is the last one in the list.
|
Element |
previousElementSibling()
The NonDocumentTypeChildNode.previousElementSibling read-only property returns the Element immediately prior to the specified one in its parent's children list, or null if the specified element is the first one in the list.
|
void |
remove()
The ChildNode.remove() method removes the object from the tree it belongs to.
|
void |
replaceData(int offset,
int count,
java.lang.String data) |
void |
replaceWith(Node... nodes)
The ChildNode.replaceWith() method replaces this ChildNode in the children list of its parent with a set of Node or DOMString objects.
|
void |
replaceWith(java.lang.String... nodes)
The ChildNode.replaceWith() method replaces this ChildNode in the children list of its parent with a set of Node or DOMString objects.
|
java.lang.String |
substringData(int offset,
int count) |
appendChild, baseURI, childNodes, cloneNode, cloneNode, compareDocumentPosition, contains, firstChild, getRootNode, getRootNode, hasChildNodes, insertBefore, isConnected, isDefaultNamespace, isEqualNode, isSameNode, lastChild, lookupNamespaceURI, lookupPrefix, nextSibling, nodeName, nodeType, normalize, ownerDocument, parentElement, parentNode, previousSibling, removeChild, replaceChildaddEventListener, addEventListener, addEventListener, dispatchEvent, removeEventListener, removeEventListener, removeEventListenerassign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, values@JsProperty(name="length") public int length()
@JsProperty(name="nextElementSibling") @Nullable public Element nextElementSibling()
@JsProperty(name="previousElementSibling") @Nullable public Element previousElementSibling()
public void appendData(@Nonnull
java.lang.String data)
public void deleteData(int offset,
int count)
public void insertData(int offset,
@Nonnull
java.lang.String data)
public void replaceData(int offset,
int count,
@Nonnull
java.lang.String data)
@Nonnull
public java.lang.String substringData(int offset,
int count)
public void after(@Nonnull
Node... nodes)
public void after(@Nonnull
java.lang.String... nodes)
public void before(@Nonnull
Node... nodes)
public void before(@Nonnull
java.lang.String... nodes)
public void remove()
public void replaceWith(@Nonnull
Node... nodes)
public void replaceWith(@Nonnull
java.lang.String... nodes)