public static enum View.ContentType extends Enum<View.ContentType>
| Enum Constant and Description |
|---|
HTML |
HTML_SANITIZED |
URL |
| Modifier and Type | Method and Description |
|---|---|
static View.ContentType |
parse(String viewName) |
String |
toString() |
static View.ContentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static View.ContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final View.ContentType HTML
public static final View.ContentType URL
public static final View.ContentType HTML_SANITIZED
public static View.ContentType[] values()
for (View.ContentType c : View.ContentType.values()) System.out.println(c);
public static View.ContentType 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 static View.ContentType parse(String viewName)
viewName - public String toString()
toString in class Enum<View.ContentType>Copyright © 2007-2012. All Rights Reserved.