|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.code.facebookapi.BundleActionLink
public class BundleActionLink
A simple data structure for storing a story-template action link, used in the feed_registerTemplateBundle API call.
http://wiki.developers.facebook.com/index.php/Action_Links},
Serialized Form| Constructor Summary | |
|---|---|
BundleActionLink()
Constructor. |
|
BundleActionLink(java.lang.String text,
java.lang.String href)
Constructor. |
|
| Method Summary | |
|---|---|
static java.util.List<BundleActionLink> |
fromJson(org.json.JSONArray arr)
|
static BundleActionLink |
fromJson(org.json.JSONObject obj)
|
java.lang.String |
getHref()
Get the action link (may include tokens). |
java.lang.String |
getText()
Get the text to display for the action. |
void |
setHref(java.lang.String href)
Set the action link (may include tokens). |
void |
setText(java.lang.String text)
Set the text to display for the action. |
org.json.JSONObject |
toJson()
|
static org.json.JSONArray |
toJsonArray(java.lang.Iterable<BundleActionLink> list)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BundleActionLink()
public BundleActionLink(java.lang.String text,
java.lang.String href)
text - the text to display for the action.href - the action link (may include tokens).| Method Detail |
|---|
public org.json.JSONObject toJson()
toJson in interface ToJsonObjectpublic final java.lang.String getText()
public final void setText(java.lang.String text)
public final java.lang.String getHref()
public final void setHref(java.lang.String href)
public static org.json.JSONArray toJsonArray(java.lang.Iterable<BundleActionLink> list)
public static BundleActionLink fromJson(org.json.JSONObject obj)
throws org.json.JSONException
org.json.JSONException
public static java.util.List<BundleActionLink> fromJson(org.json.JSONArray arr)
throws org.json.JSONException
org.json.JSONException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||