软件包 | 描述 |
---|---|
javax.xml.soap |
提供用于创建和生成消息的接口。
|
org.w3c.dom |
提供的文档对象模型(DOM)接口是一组API的
Java API for XML Processing。
|
Modifier and Type | Interface and Description |
---|---|
interface |
Text
一个节点的值为文本的表示形式。
|
Modifier and Type | Interface and Description |
---|---|
interface |
CDATASection
CDATA节用来逃避文本包含字符,否则将被视为标记。
|
Modifier and Type | Method and Description |
---|---|
Text |
Document.createTextNode(String data)
创建一个
Text 节点指定的字符串。
|
Text |
Text.replaceWholeText(String content)
用指定的文本替换当前节点的文本和所有逻辑上的相邻的文本节点。
|
Text |
Text.splitText(int offset)
打破这个节点为两节点在指定的
offset ,两者保持树的兄弟姐妹。
|
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, 2014, Oracle and/or its affiliates. All rights reserved.