|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Draft.Value>
com.google.gdata.model.atompub.Draft.Value
public static enum Draft.Value
Value.
Enum Constant Summary | |
---|---|
NO
Is not a draft. |
|
YES
Is a draft. |
Method Summary | |
---|---|
static Draft.Value |
fromString(java.lang.String value)
Convert from a string representation of Value to an instance. |
java.lang.String |
toString()
Returns the string representation of this instance, suitable for use in output. |
static Draft.Value |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Draft.Value[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Draft.Value NO
public static final Draft.Value YES
Method Detail |
---|
public static Draft.Value[] values()
for (Draft.Value c : Draft.Value.values()) System.out.println(c);
public static Draft.Value valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Draft.Value>
public static Draft.Value fromString(java.lang.String value)
valueOf(String)
this method will return null if an enum for the
given value does not exist.
value
- the string representation to look up.
null
if
none was found.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |