org.apache.shindig.social.opensocial.model
Interface EmbeddedExperience

All Known Implementing Classes:
EmbeddedExperienceImpl

public interface EmbeddedExperience

Represents an embedded experience that may be inlined.


Nested Class Summary
static class EmbeddedExperience.Field
          Fields that represent JSON elements for an embedded experience.
 
Method Summary
 java.lang.Object getContext()
          Gets the contextual data for this embedded experience
 java.lang.String getGadget()
          Gets the URL to the gadget definition for this embedded experience
 java.lang.String getPreviewImage()
          Gets the URL to an image that may act as a preview for this embedded experience
 java.lang.String getUrl()
          Gets the URL that may be used as an embedded experience
 void setContext(java.lang.Object context)
          Sets the contextual data for the embedded experience
 void setGadget(java.lang.String gadget)
          Sets the URL to the gadget definition for this embedded experience
 void setPreviewImage(java.lang.String previewImage)
          Set the URL to an image that may act as a preview for this embedded experience
 void setUrl(java.lang.String url)
          Sets the URL that may be used as an embedded experience
 

Method Detail

getGadget

java.lang.String getGadget()
Gets the URL to the gadget definition for this embedded experience

Returns:
the URL to the gadget definintion for this embedded experience

setGadget

void setGadget(java.lang.String gadget)
Sets the URL to the gadget definition for this embedded experience

Parameters:
gadget - the URL to the gadget definition for this embedded experience

getContext

java.lang.Object getContext()
Gets the contextual data for this embedded experience

Returns:
the contextual data for this embedded experience

setContext

void setContext(java.lang.Object context)
Sets the contextual data for the embedded experience

Parameters:
context - the contextual data for this embedded experience

getPreviewImage

java.lang.String getPreviewImage()
Gets the URL to an image that may act as a preview for this embedded experience

Returns:
the URL to an image that may act as a preview for this embedded experiece

setPreviewImage

void setPreviewImage(java.lang.String previewImage)
Set the URL to an image that may act as a preview for this embedded experience

Parameters:
previewImage - the URL to an image that may act as a preview for this embedded experience

getUrl

java.lang.String getUrl()
Gets the URL that may be used as an embedded experience

Returns:
the URL that may be used as an embedded experience

setUrl

void setUrl(java.lang.String url)
Sets the URL that may be used as an embedded experience

Parameters:
url - the URL that may be used as an embedded experience


Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.