public static enum Template.SectionKind extends java.lang.Enum<Template.SectionKind>
Modifier and Type | Method and Description |
---|---|
static Template.SectionKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Template.SectionKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Template.SectionKind PRE
public static final Template.SectionKind POST
public static final Template.SectionKind MAIN
public static Template.SectionKind[] values()
for (Template.SectionKind c : Template.SectionKind.values()) System.out.println(c);
public static Template.SectionKind 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 null