public static final enum

Draft.Value

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.google.gdata.model.atompub.Draft.Value

Class Overview

Value.

Summary

Enum Values
Draft.Value  NO  Is not a draft. 
Draft.Value  YES  Is a draft. 
Fields
private static final Map<String, Draft.Value> VALUE_MAP
[Expand]
Inherited Fields
From class java.lang.Enum
Public Methods
static Draft.Value fromString(String value)
Convert from a string representation of Value to an instance.
String toString()
Returns the string representation of this instance, suitable for use in output.
static Draft.Value valueOf(String name)
final static Value[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final Draft.Value NO

Is not a draft.

public static final Draft.Value YES

Is a draft.

Fields

private static final Map<String, Draft.Value> VALUE_MAP

Public Methods

public static Draft.Value fromString (String value)

Convert from a string representation of Value to an instance. Unlike valueOf(String) this method will return null if an enum for the given value does not exist.

Parameters
value The string representation to look up.
Returns
  • an instance if one matched the given string, or null if none was found.

public String toString ()

Returns the string representation of this instance, suitable for use in output. This is a lowercase version of the name.

public static Draft.Value valueOf (String name)

Parameters
name

public static final Value[] values ()