|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jsoup.nodes.Node
org.jsoup.nodes.DataNode
public class DataNode
A data node, for contents of style, script tags etc, where contents should not show in text().
Constructor Summary | |
---|---|
DataNode(String data,
String baseUri)
Create a new DataNode. |
Method Summary | |
---|---|
static DataNode |
createFromEncoded(String encodedData,
String baseUri)
Create a new DataNode from HTML encoded data. |
String |
getWholeData()
Get the data contents of this node. |
String |
nodeName()
Get the node name of this node. |
DataNode |
setWholeData(String data)
Set the data contents of this node. |
String |
toString()
|
Methods inherited from class org.jsoup.nodes.Node |
---|
absUrl, addChildren, addChildren, after, after, attr, attr, attributes, baseUri, before, before, childNode, childNodes, childNodesAsArray, clone, doClone, equals, hasAttr, hashCode, indent, nextSibling, outerHtml, outerHtml, ownerDocument, parent, previousSibling, remove, removeAttr, removeChild, replaceChild, replaceWith, setBaseUri, setParentNode, setSiblingIndex, siblingIndex, siblingNodes, traverse, unwrap, wrap |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DataNode(String data, String baseUri)
data
- data contentsbaseUri
- base URIMethod Detail |
---|
public String nodeName()
Node
nodeName
in class Node
public String getWholeData()
public DataNode setWholeData(String data)
data
- unencoded data
public String toString()
toString
in class Node
public static DataNode createFromEncoded(String encodedData, String baseUri)
encodedData
- encoded databaseUri
- bass URI
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |