|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
Object Enum<TemplateMode> org.thymeleaf.TemplateMode
TemplateResolver.setTemplateMode(String)
.
@Deprecated public enum TemplateMode
Old enum class for template modes. This enum is not used anymore for specifying template modes, as these are now specified as a String.
Enum Constant Summary | |
---|---|
HTML5
Deprecated. |
|
LEGACYHTML5
Deprecated. |
|
VALIDXHTML
Deprecated. |
|
VALIDXML
Deprecated. |
|
XHTML
Deprecated. |
|
XML
Deprecated. |
Method Summary | |
---|---|
static TemplateMode |
valueOf(String name)
Deprecated. Returns the enum constant of this type with the specified name. |
static TemplateMode[] |
values()
Deprecated. Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TemplateMode XML
public static final TemplateMode VALIDXML
public static final TemplateMode XHTML
public static final TemplateMode VALIDXHTML
public static final TemplateMode LEGACYHTML5
public static final TemplateMode HTML5
Method Detail |
---|
public static TemplateMode[] values()
for (TemplateMode c : TemplateMode.values()) System.out.println(c);
public static TemplateMode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |