nu.validator.htmlparser.impl
Enum TreeBuilder.Phase
java.lang.Object
java.lang.Enum<TreeBuilder.Phase>
nu.validator.htmlparser.impl.TreeBuilder.Phase
- All Implemented Interfaces:
- Serializable, Comparable<TreeBuilder.Phase>
- Enclosing class:
- TreeBuilder<T>
private static enum TreeBuilder.Phase
- extends Enum<TreeBuilder.Phase>
INITIAL
public static final TreeBuilder.Phase INITIAL
ROOT_ELEMENT
public static final TreeBuilder.Phase ROOT_ELEMENT
BEFORE_HEAD
public static final TreeBuilder.Phase BEFORE_HEAD
IN_HEAD
public static final TreeBuilder.Phase IN_HEAD
IN_HEAD_NOSCRIPT
public static final TreeBuilder.Phase IN_HEAD_NOSCRIPT
AFTER_HEAD
public static final TreeBuilder.Phase AFTER_HEAD
IN_BODY
public static final TreeBuilder.Phase IN_BODY
IN_TABLE
public static final TreeBuilder.Phase IN_TABLE
IN_CAPTION
public static final TreeBuilder.Phase IN_CAPTION
IN_COLUMN_GROUP
public static final TreeBuilder.Phase IN_COLUMN_GROUP
IN_TABLE_BODY
public static final TreeBuilder.Phase IN_TABLE_BODY
IN_ROW
public static final TreeBuilder.Phase IN_ROW
IN_CELL
public static final TreeBuilder.Phase IN_CELL
IN_SELECT
public static final TreeBuilder.Phase IN_SELECT
AFTER_BODY
public static final TreeBuilder.Phase AFTER_BODY
IN_FRAMESET
public static final TreeBuilder.Phase IN_FRAMESET
AFTER_FRAMESET
public static final TreeBuilder.Phase AFTER_FRAMESET
TRAILING_END
public static final TreeBuilder.Phase TRAILING_END
values
public static final TreeBuilder.Phase[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(TreeBuilder.Phase c : TreeBuilder.Phase.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static TreeBuilder.Phase valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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 type has no constant
with the specified name