com.google.code.facebookapi
Class AttachmentProperty
java.lang.Object
com.google.code.facebookapi.AttachmentProperty
public class AttachmentProperty
- extends java.lang.Object
A simple data structure for property link type used by Attachment.
- See Also:
http://wiki.developers.facebook.com/index.php/Attachment_(Streams)}
|
Constructor Summary |
AttachmentProperty(java.lang.String caption,
java.lang.String text,
java.lang.String href)
Constructor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachmentProperty
public AttachmentProperty(java.lang.String caption,
java.lang.String text,
java.lang.String href)
- Constructor.
- Parameters:
caption - The caption (required).text - The text for link (required).href - The target for link (required).
toJson
public org.json.JSONObject toJson()
- Returns:
- JSON Object of this attachment link.
getHref
public java.lang.String getHref()
getText
public java.lang.String getText()
getCaption
public java.lang.String getCaption()
Copyright © 2009. All Rights Reserved.