Enum Constant and Description |
---|
BODY_BEGIN |
BODY_END |
HEAD_BEGIN |
HEAD_END |
Modifier and Type | Method and Description |
---|---|
static HtmlTag |
from(java.lang.String id) |
java.lang.String |
id() |
static HtmlTag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HtmlTag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HtmlTag HEAD_BEGIN
public static final HtmlTag HEAD_END
public static final HtmlTag BODY_BEGIN
public static final HtmlTag BODY_END
public static HtmlTag[] values()
for (HtmlTag c : HtmlTag.values()) System.out.println(c);
public static HtmlTag valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String id()
public static HtmlTag from(java.lang.String id)