org.rometools.feed.module.activitystreams.types
Class Audio

java.lang.Object
  extended by com.sun.syndication.feed.atom.Entry
      extended by org.rometools.feed.module.activitystreams.types.ActivityObject
          extended by org.rometools.feed.module.activitystreams.types.Audio
All Implemented Interfaces:
com.sun.syndication.feed.module.Extendable, Serializable, Cloneable, HasLocation

public class Audio
extends ActivityObject

The "audio" Object type represents audio content.

The "audio" Object type is identified by the URI http://activitystrea.ms/schema/1.0/audio.

An audio has the following additional components:

Audio Stream Link
A Media Link Construct linking to the audio content itself. Represented in JSON as a property called stream whose value is a JSON object with properties as defined in [TODO: xref the JSON serialization of a Media Link Construct]
Embed Code
An HTML fragment that, when embedded in an HTML page, will provide an interactive player UI for the audio stream. Represented in JSON as a property called embedCode whose value is a JSON string containing the fragment of HTML.

Author:
robert.cooper
See Also:
Serialized Form

Constructor Summary
Audio()
           
 
Method Summary
 String getEmbedCode()
          Get the value of embedCode
 String getStreamLink()
          Get the value of streamLink
 String getTypeIRI()
           
 void setEmbedCode(String newembedCode)
          Set the value of embedCode
 void setStreamLink(String newstreamLink)
          Set the value of streamLink
 
Methods inherited from class org.rometools.feed.module.activitystreams.types.ActivityObject
getAddress, getLocation, setAddress, setLocation
 
Methods inherited from class com.sun.syndication.feed.atom.Entry
clone, equals, findRelatedLink, getAlternateLinks, getAuthors, getCategories, getContents, getContributors, getCreated, getForeignMarkup, getId, getIssued, getModified, getModule, getModules, getOtherLinks, getPublished, getRights, getSource, getSummary, getTitle, getTitleEx, getUpdated, getXmlBase, hashCode, isMediaEntry, setAlternateLinks, setAuthors, setCategories, setContents, setContributors, setCreated, setForeignMarkup, setId, setIssued, setModified, setModules, setOtherLinks, setPublished, setRights, setSource, setSummary, setTitle, setTitleEx, setUpdated, setXmlBase, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Audio

public Audio()
Method Detail

setEmbedCode

public void setEmbedCode(String newembedCode)
Set the value of embedCode

Parameters:
newembedCode - new value of embedCode

getEmbedCode

public String getEmbedCode()
Get the value of embedCode

Returns:
the value of embedCode

setStreamLink

public void setStreamLink(String newstreamLink)
Set the value of streamLink

Parameters:
newstreamLink - new value of streamLink

getStreamLink

public String getStreamLink()
Get the value of streamLink

Returns:
the value of streamLink

getTypeIRI

public String getTypeIRI()
Specified by:
getTypeIRI in class ActivityObject


Copyright © 2013 ROME Project. All Rights Reserved.