public static enum PersonView.Template extends Enum<PersonView.Template>
Enum Constant and Description |
---|
FREEMARKER |
MUSTACHE |
Modifier and Type | Method and Description |
---|---|
String |
getTemplateName() |
static PersonView.Template |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersonView.Template[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersonView.Template FREEMARKER
public static final PersonView.Template MUSTACHE
public static PersonView.Template[] values()
for (PersonView.Template c : PersonView.Template.values()) System.out.println(c);
public static PersonView.Template 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 getTemplateName()
Copyright © 2011. All rights reserved.