org.apache.shindig.social.core.model
Class EmbeddedExperienceImpl

java.lang.Object
  extended by org.apache.shindig.social.core.model.EmbeddedExperienceImpl
All Implemented Interfaces:
EmbeddedExperience

public class EmbeddedExperienceImpl
extends java.lang.Object
implements EmbeddedExperience

Embedded experience implementation.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.shindig.social.opensocial.model.EmbeddedExperience
EmbeddedExperience.Field
 
Constructor Summary
EmbeddedExperienceImpl()
          Constructor
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmbeddedExperienceImpl

public EmbeddedExperienceImpl()
Constructor

Method Detail

getContext

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

Specified by:
getContext in interface EmbeddedExperience
Returns:
the contextual data for this embedded experience

getGadget

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

Specified by:
getGadget in interface EmbeddedExperience
Returns:
the URL to the gadget definintion for this embedded experience

getPreviewImage

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

Specified by:
getPreviewImage in interface EmbeddedExperience
Returns:
the URL to an image that may act as a preview for this embedded experiece

getUrl

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

Specified by:
getUrl in interface EmbeddedExperience
Returns:
the URL that may be used as an embedded experience

setContext

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

Specified by:
setContext in interface EmbeddedExperience
Parameters:
context - the contextual data for this embedded experience

setGadget

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

Specified by:
setGadget in interface EmbeddedExperience
Parameters:
gadget - the URL to the gadget definition for this embedded experience

setPreviewImage

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

Specified by:
setPreviewImage in interface EmbeddedExperience
Parameters:
previewImage - the URL to an image that may act as a preview for this embedded experience

setUrl

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

Specified by:
setUrl in interface EmbeddedExperience
Parameters:
url - the URL that may be used as an embedded experience


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