| java.lang.Object | ||
| ↳ | org.jsoup.nodes.Node | |
| ↳ | org.jsoup.nodes.Comment | |
A comment node.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a new comment node.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Get the contents of the comment.
| |||||||||||
Get the node name of this node.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.jsoup.nodes.Node
| |||||||||||
From class
java.lang.Object
| |||||||||||
Create a new comment node.
| data | The contents of the comment |
|---|---|
| baseUri | base URI |
Get the node name of this node. Use for debugging purposes and not logic switching (for that, use instanceof).