org.exoplatform.social.common.embedder
Class OembedEmbedder

java.lang.Object
  extended by org.exoplatform.social.common.embedder.OembedEmbedder
All Implemented Interfaces:
Embedder

public class OembedEmbedder
extends Object
implements Embedder

Since:
4.0.0-GA

Constructor Summary
OembedEmbedder(org.exoplatform.container.xml.InitParams initParams)
          constructor
 
Method Summary
 ExoSocialMedia getExoSocialMedia()
          processes input link and returns data wrapped into a model called ExoSocialMedia.
 ExoSocialMedia getExoSocialMedia(String url)
          Deprecated. Should use getExoSocialMedia() instead.
 void setUrl(String url)
          Set provided url to Embedder object to process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OembedEmbedder

public OembedEmbedder(org.exoplatform.container.xml.InitParams initParams)
constructor

Parameters:
initParams -
Method Detail

setUrl

public void setUrl(String url)
Description copied from interface: Embedder
Set provided url to Embedder object to process.

Specified by:
setUrl in interface Embedder
Parameters:
url - The provided input url to be processed.

getExoSocialMedia

public ExoSocialMedia getExoSocialMedia(String url)
Deprecated. Should use getExoSocialMedia() instead.

processes input link and returns data wrapped into a model called ExoSocialMedia.

Parameters:
url - Link to get oembed data.
Returns:
ExoSocialMedia object that corresponds to the link.

getExoSocialMedia

public ExoSocialMedia getExoSocialMedia()
processes input link and returns data wrapped into a model called ExoSocialMedia.

Specified by:
getExoSocialMedia in interface Embedder
Returns:
ExoSocialMedia object that corresponds to the link.


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.