Package org.jsoup.parser
Enum Class HtmlTreeBuilderState
- All Implemented Interfaces:
Serializable,Comparable<HtmlTreeBuilderState>,Constable
The Tree Builder's current state. Each state embodies the processing for the state, and transitions to other states.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final classNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidhandleRawtext(Token.StartTag startTag, HtmlTreeBuilder tb) private static voidhandleRcData(Token.StartTag startTag, HtmlTreeBuilder tb) private static boolean(package private) abstract booleanprocess(Token t, HtmlTreeBuilder tb) static HtmlTreeBuilderStateReturns the enum constant of this class with the specified name.static HtmlTreeBuilderState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Initial
-
BeforeHtml
-
BeforeHead
-
InHead
-
InHeadNoscript
-
AfterHead
-
InBody
-
Text
-
InTable
-
InTableText
-
InCaption
-
InColumnGroup
-
InTableBody
-
InRow
-
InCell
-
InSelect
-
InSelectInTable
-
InTemplate
-
AfterBody
-
InFrameset
-
AfterFrameset
-
AfterAfterBody
-
AfterAfterFrameset
-
ForeignContent
-
-
Field Details
-
nullString
-
-
Constructor Details
-
HtmlTreeBuilderState
private HtmlTreeBuilderState()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
process
-
isWhitespace
-
handleRcData
-
handleRawtext
-