nu.validator.htmlparser.impl
Enum TreeBuilder.Phase

java.lang.Object
  extended by java.lang.Enum<TreeBuilder.Phase>
      extended by 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>


Enum Constant Summary
AFTER_BODY
           
AFTER_FRAMESET
           
AFTER_HEAD
           
BEFORE_HEAD
           
IN_BODY
           
IN_CAPTION
           
IN_CELL
           
IN_COLUMN_GROUP
           
IN_FRAMESET
           
IN_HEAD
           
IN_HEAD_NOSCRIPT
           
IN_ROW
           
IN_SELECT
           
IN_TABLE
           
IN_TABLE_BODY
           
INITIAL
           
ROOT_ELEMENT
           
TRAILING_END
           
 
Method Summary
static TreeBuilder.Phase valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TreeBuilder.Phase[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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