Enum FreemarkerHttpServlet.Template
- java.lang.Object
-
- java.lang.Enum<FreemarkerHttpServlet.Template>
-
- edu.cornell.mannlib.vitro.webapp.controller.freemarker.FreemarkerHttpServlet.Template
-
- All Implemented Interfaces:
Serializable,Comparable<FreemarkerHttpServlet.Template>
- Enclosing class:
- FreemarkerHttpServlet
protected static enum FreemarkerHttpServlet.Template extends Enum<FreemarkerHttpServlet.Template>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR_DISPLAYERROR_MESSAGEMESSAGEPAGE_DEFAULTSETUPSTANDARD_ERRORTITLED_ERROR_MESSAGETITLED_MESSAGE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static FreemarkerHttpServlet.TemplatevalueOf(String name)Returns the enum constant of this type with the specified name.static FreemarkerHttpServlet.Template[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SETUP
public static final FreemarkerHttpServlet.Template SETUP
-
PAGE_DEFAULT
public static final FreemarkerHttpServlet.Template PAGE_DEFAULT
-
ERROR_DISPLAY
public static final FreemarkerHttpServlet.Template ERROR_DISPLAY
-
ERROR_MESSAGE
public static final FreemarkerHttpServlet.Template ERROR_MESSAGE
-
STANDARD_ERROR
public static final FreemarkerHttpServlet.Template STANDARD_ERROR
-
TITLED_ERROR_MESSAGE
public static final FreemarkerHttpServlet.Template TITLED_ERROR_MESSAGE
-
MESSAGE
public static final FreemarkerHttpServlet.Template MESSAGE
-
TITLED_MESSAGE
public static final FreemarkerHttpServlet.Template TITLED_MESSAGE
-
-
Method Detail
-
values
public static FreemarkerHttpServlet.Template[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FreemarkerHttpServlet.Template c : FreemarkerHttpServlet.Template.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FreemarkerHttpServlet.Template 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 nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<FreemarkerHttpServlet.Template>
-
-