Package | Description |
---|---|
javax.xml.soap |
Provides the API for creating and building SOAP messages.
|
org.w3c.dom |
Provides the interfaces for the Document Object Model (DOM).
|
Modifier and Type | Interface and Description |
---|---|
interface |
Text
A representation of a node whose value is text.
|
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
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.