public static enum Description.Format extends Enum<Description.Format>
Modifier and Type | Method and Description |
---|---|
static Description.Format |
fromValue(String value) |
String |
toString() |
String |
value() |
static Description.Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Description.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Description.Format HTML
public static final Description.Format TEXT
public static Description.Format[] values()
for (Description.Format c : Description.Format.values()) System.out.println(c);
public static Description.Format 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 toString()
toString
in class Enum<Description.Format>
public String value()
public static Description.Format fromValue(String value)
Copyright © 2016–2018. All rights reserved.