enum HtmlTreeBuilderState extends Enum<HtmlTreeBuilderState>
Modifier and Type | Class and Description |
---|---|
(package private) static class |
HtmlTreeBuilderState.Constants |
Enum Constant and Description |
---|
AfterAfterBody |
AfterAfterFrameset |
AfterBody |
AfterFrameset |
AfterHead |
BeforeHead |
BeforeHtml |
ForeignContent |
InBody |
InCaption |
InCell |
InColumnGroup |
InFrameset |
InHead |
InHeadNoscript |
Initial |
InRow |
InSelect |
InSelectInTable |
InTable |
InTableBody |
InTableText |
Text |
Modifier and Type | Field and Description |
---|---|
private static String |
nullString |
Modifier and Type | Method and Description |
---|---|
private static void |
handleRawtext(Token.StartTag startTag,
HtmlTreeBuilder tb) |
private static void |
handleRcData(Token.StartTag startTag,
HtmlTreeBuilder tb) |
private static boolean |
isWhitespace(String data) |
private static boolean |
isWhitespace(Token t) |
(package private) abstract boolean |
process(Token t,
HtmlTreeBuilder tb) |
static HtmlTreeBuilderState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HtmlTreeBuilderState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HtmlTreeBuilderState Initial
public static final HtmlTreeBuilderState BeforeHtml
public static final HtmlTreeBuilderState BeforeHead
public static final HtmlTreeBuilderState InHead
public static final HtmlTreeBuilderState InHeadNoscript
public static final HtmlTreeBuilderState AfterHead
public static final HtmlTreeBuilderState InBody
public static final HtmlTreeBuilderState Text
public static final HtmlTreeBuilderState InTable
public static final HtmlTreeBuilderState InTableText
public static final HtmlTreeBuilderState InCaption
public static final HtmlTreeBuilderState InColumnGroup
public static final HtmlTreeBuilderState InTableBody
public static final HtmlTreeBuilderState InRow
public static final HtmlTreeBuilderState InCell
public static final HtmlTreeBuilderState InSelect
public static final HtmlTreeBuilderState InSelectInTable
public static final HtmlTreeBuilderState AfterBody
public static final HtmlTreeBuilderState InFrameset
public static final HtmlTreeBuilderState AfterFrameset
public static final HtmlTreeBuilderState AfterAfterBody
public static final HtmlTreeBuilderState AfterAfterFrameset
public static final HtmlTreeBuilderState ForeignContent
private static String nullString
public static HtmlTreeBuilderState[] values()
for (HtmlTreeBuilderState c : HtmlTreeBuilderState.values()) System.out.println(c);
public static HtmlTreeBuilderState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullabstract boolean process(Token t, HtmlTreeBuilder tb)
private static boolean isWhitespace(Token t)
private static boolean isWhitespace(String data)
private static void handleRcData(Token.StartTag startTag, HtmlTreeBuilder tb)
private static void handleRawtext(Token.StartTag startTag, HtmlTreeBuilder tb)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses