枚举常量和说明 |
---|
FREE_MARKER |
JSP |
OTHER |
VELOCITY |
public static final ViewType JSP
public static final ViewType FREE_MARKER
public static final ViewType VELOCITY
public static final ViewType OTHER
public static ViewType[] values()
for (ViewType c : ViewType.values()) System.out.println(c);
public static ViewType valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。如果该枚举类型没有带有指定名称的常量,
- 则抛出 IllegalArgumentException如果参数为空值,
- 则抛出 NullPointerException