java.lang.Object | ||
↳ | org.jsoup.nodes.Node | |
↳ | org.jsoup.nodes.DataNode |
A data node, for contents of style, script tags etc, where contents should not show in text().
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new DataNode.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new DataNode from HTML encoded data.
| |||||||||||
Get the data contents of this node.
| |||||||||||
Get the node name of this node.
| |||||||||||
Set the data contents of this node.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.jsoup.nodes.Node
| |||||||||||
From class
java.lang.Object
|
Create a new DataNode.
data | data contents |
---|---|
baseUri | base URI |
Create a new DataNode from HTML encoded data.
encodedData | encoded data |
---|---|
baseUri | bass URI |
Get the data contents of this node. Will be unescaped and with original new lines, space etc.
Get the node name of this node. Use for debugging purposes and not logic switching (for that, use instanceof).
Set the data contents of this node.
data | unencoded data |
---|