Package | Description |
---|---|
org.w3c.dom |
Provides the interfaces for the Document Object Model (DOM).
|
Modifier and Type | Interface and Description |
---|---|
interface |
CDATASection
CDATA sections are used to escape blocks of text containing characters that
would otherwise be regarded as markup.
|
Modifier and Type | Method and Description |
---|---|
Text |
Document.createTextNode(String data)
Creates a
Text node given the specified string. |
Text |
Text.replaceWholeText(String content)
Replaces the text of the current node and all logically-adjacent text
nodes with the specified text.
|
Text |
Text.splitText(int offset)
Breaks this node into two nodes at the specified
offset ,
keeping both in the tree as siblings. |
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2005, 2015, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.