public enum HtmlTag extends Enum<HtmlTag>
| Enum Constant and Description |
|---|
BODY_BEGIN |
BODY_END |
HEAD_BEGIN |
HEAD_END |
| Modifier and Type | Method and Description |
|---|---|
static HtmlTag |
from(String id) |
String |
id() |
static HtmlTag |
valueOf(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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String id()