|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MediaLink.Field>
org.wso2.carbon.registry.social.api.activityStream.MediaLink.Field
public static enum MediaLink.Field
Fields that represent the JSON elements.
Enum Constant Summary | |
---|---|
DURATION
the json field for duration-the length, in seconds, of the media resource. |
|
HEIGHT
the json field for the height, in pixels, of the media resource. |
|
URL
the json field for url of the media resource being linked. |
|
WIDTH
the json field for the width, in pixels, of the media resource. |
Method Summary | |
---|---|
String |
toString()
Returns the name of the JSON element. |
static MediaLink.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MediaLink.Field[] |
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 MediaLink.Field DURATION
public static final MediaLink.Field HEIGHT
public static final MediaLink.Field URL
public static final MediaLink.Field WIDTH
Method Detail |
---|
public static MediaLink.Field[] values()
for (MediaLink.Field c : MediaLink.Field.values()) System.out.println(c);
public static MediaLink.Field valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<MediaLink.Field>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |