nu.validator.htmlparser.impl
Enum Tokenizer.CommentState

java.lang.Object
  extended by java.lang.Enum<Tokenizer.CommentState>
      extended by nu.validator.htmlparser.impl.Tokenizer.CommentState
All Implemented Interfaces:
Serializable, Comparable<Tokenizer.CommentState>
Enclosing class:
Tokenizer

private static enum Tokenizer.CommentState
extends Enum<Tokenizer.CommentState>


Enum Constant Summary
COMMENT_END_DASH_STATE
           
COMMENT_END_STATE
           
COMMENT_START_DASH_STATE
           
COMMENT_START_STATE
           
COMMENT_STATE
           
 
Method Summary
static Tokenizer.CommentState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Tokenizer.CommentState[] 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

COMMENT_START_STATE

public static final Tokenizer.CommentState COMMENT_START_STATE

COMMENT_START_DASH_STATE

public static final Tokenizer.CommentState COMMENT_START_DASH_STATE

COMMENT_STATE

public static final Tokenizer.CommentState COMMENT_STATE

COMMENT_END_DASH_STATE

public static final Tokenizer.CommentState COMMENT_END_DASH_STATE

COMMENT_END_STATE

public static final Tokenizer.CommentState COMMENT_END_STATE
Method Detail

values

public static final Tokenizer.CommentState[] 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(Tokenizer.CommentState c : Tokenizer.CommentState.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static Tokenizer.CommentState 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