|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Website.Rel>
com.google.gdata.data.contacts.Website.Rel
public static enum Website.Rel
Known website type.
Enum Constant Summary | |
---|---|
BLOG
Blog website. |
|
FTP
Ftp website. |
|
HOME
Home website. |
|
HOME_PAGE
Home-page website. |
|
OTHER
Other website. |
|
PROFILE
Profile website. |
|
WORK
Work website. |
Method Summary | |
---|---|
java.lang.String |
toValue()
Returns the value used in the XML. |
static Website.Rel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Website.Rel[] |
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, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Website.Rel BLOG
public static final Website.Rel FTP
public static final Website.Rel HOME
public static final Website.Rel HOME_PAGE
public static final Website.Rel OTHER
public static final Website.Rel PROFILE
public static final Website.Rel WORK
Method Detail |
---|
public static Website.Rel[] values()
for (Website.Rel c : Website.Rel.values()) System.out.println(c);
public static Website.Rel 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 toValue()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |