com.google.code.facebookapi
Class AttachmentMediaImage
java.lang.Object
com.google.code.facebookapi.AttachmentMedia
com.google.code.facebookapi.AttachmentMediaImage
- All Implemented Interfaces:
- ToJsonObject, java.io.Serializable
public class AttachmentMediaImage
- extends AttachmentMedia
A simple data structure for image media type used by Attachment.
- See Also:
http://wiki.developers.facebook.com/index.php/Attachment_(Streams)},
Serialized Form
|
Method Summary |
java.lang.String |
getHref()
|
java.lang.String |
getSrc()
|
void |
setHref(java.lang.String href)
|
void |
setSrc(java.lang.String src)
|
org.json.JSONObject |
toJson()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachmentMediaImage
public AttachmentMediaImage()
AttachmentMediaImage
public AttachmentMediaImage(java.lang.String src,
java.lang.String href)
toJson
public org.json.JSONObject toJson()
- Specified by:
toJson in interface ToJsonObject- Overrides:
toJson in class AttachmentMedia
getSrc
public java.lang.String getSrc()
setSrc
public void setSrc(java.lang.String src)
getHref
public java.lang.String getHref()
setHref
public void setHref(java.lang.String href)
Copyright © 2010. All Rights Reserved.