nu.validator.spec.html5
Enum Html5SpecBuilder.State
java.lang.Object
java.lang.Enum<Html5SpecBuilder.State>
nu.validator.spec.html5.Html5SpecBuilder.State
- All Implemented Interfaces:
- Serializable, Comparable<Html5SpecBuilder.State>
- Enclosing class:
- Html5SpecBuilder
private static enum Html5SpecBuilder.State
- extends Enum<Html5SpecBuilder.State>
AWAITING_HEADING
public static final Html5SpecBuilder.State AWAITING_HEADING
IN_H4
public static final Html5SpecBuilder.State IN_H4
IN_CODE_IN_H4
public static final Html5SpecBuilder.State IN_CODE_IN_H4
AWAITING_ELEMENT_DL
public static final Html5SpecBuilder.State AWAITING_ELEMENT_DL
IN_ELEMENT_DL_START
public static final Html5SpecBuilder.State IN_ELEMENT_DL_START
IN_CONTEXT_DT
public static final Html5SpecBuilder.State IN_CONTEXT_DT
CAPTURING_CONTEXT_DDS
public static final Html5SpecBuilder.State CAPTURING_CONTEXT_DDS
IN_CONTENT_MODEL_DT
public static final Html5SpecBuilder.State IN_CONTENT_MODEL_DT
CAPTURING_CONTENT_MODEL_DDS
public static final Html5SpecBuilder.State CAPTURING_CONTENT_MODEL_DDS
IN_ATTRIBUTES_DT
public static final Html5SpecBuilder.State IN_ATTRIBUTES_DT
CAPTURING_ATTRIBUTES_DDS
public static final Html5SpecBuilder.State CAPTURING_ATTRIBUTES_DDS
values
public static final Html5SpecBuilder.State[] 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(Html5SpecBuilder.State c : Html5SpecBuilder.State.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static Html5SpecBuilder.State 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