nu.validator.htmlparser.impl
Enum Tokenizer.CommentState
java.lang.Object
java.lang.Enum<Tokenizer.CommentState>
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>
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
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