com.google.code.facebookapi
Class AttachmentMediaImage

java.lang.Object
  extended by com.google.code.facebookapi.AttachmentMedia
      extended by 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

Constructor Summary
AttachmentMediaImage()
           
AttachmentMediaImage(java.lang.String src, java.lang.String href)
           
 
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 com.google.code.facebookapi.AttachmentMedia
getMediaType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentMediaImage

public AttachmentMediaImage()

AttachmentMediaImage

public AttachmentMediaImage(java.lang.String src,
                            java.lang.String href)
Method Detail

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.