java.lang.Object | |
↳ | org.jsoup.parser.Tag |
HTML Tag specifications. This is a very simplistic model without the full expressiveness as the DTD, but it should capture most of what we need to know to intelligently parse a doc.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets if this tag can contain block tags.
| |||||||||||
Gets if this tag should be formatted as a block (or as inline)
| |||||||||||
Gets if this is a block tag.
| |||||||||||
Gets if this tag is a data only tag.
| |||||||||||
Get if this is an empty tag
| |||||||||||
Gets if this tag is an inline tag.
| |||||||||||
Get if this is a pre-defined tag, or was auto created on parsing.
| |||||||||||
Get if this tag is self closing.
| |||||||||||
Get if this tag should preserve whitespace within child text nodes.
| |||||||||||
Get a Tag by name.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Gets if this tag can contain block tags.
Gets if this tag should be formatted as a block (or as inline)
Gets if this is a block tag.
Gets if this tag is a data only tag.
Get if this is an empty tag
Gets if this tag is an inline tag.
Get if this is a pre-defined tag, or was auto created on parsing.
Get if this tag is self closing.
Get if this tag should preserve whitespace within child text nodes.
Get a Tag by name. If not previously defined (unknown), returns a new generic tag, that can do anything.
Pre-defined tags (P, DIV etc) will be ==, but unknown tags are not registered and will only .equals().
tagName | Name of tag, e.g. "p". Case insensitive. |
---|