org.wso2.mashup.hostobjects.feed
Class Entry

java.lang.Object
  extended by org.mozilla.javascript.ScriptableObject
      extended by org.wso2.mashup.hostobjects.feed.Entry
All Implemented Interfaces:
java.io.Serializable, org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.Scriptable, org.wso2.mashup.hostobjects.feed.IEntry

public class Entry
extends org.mozilla.javascript.ScriptableObject
implements org.wso2.mashup.hostobjects.feed.IEntry

The Entry host object is a generic host object capable of intelligently working with both Atom and RSS feeds. The underlying protocol implementation is kept transparent. However, some data might be lost due to this being an abstraction of both Atom and RSS Entries.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mozilla.javascript.ScriptableObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
 
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
 
Constructor Summary
Entry()
           
 
Method Summary
 java.lang.String getClassName()
           
 void jsConstructor()
          Constructor the user will be using inside javaScript
static void jsFunction_addMediaModule(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, java.lang.Object[] arguments, org.mozilla.javascript.Function funObj)
           
static MediaModule[] jsFunction_getMediaModules(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, java.lang.Object[] arguments, org.mozilla.javascript.Function funObj)
           
 java.lang.String jsFunction_toString()
           
 java.lang.Object jsGet_author()
           
 java.lang.String jsGet_category()
           
 java.lang.String jsGet_content()
           
 java.lang.String jsGet_contributor()
           
 java.lang.String jsGet_description()
           
 java.lang.String[] jsGet_link()
           
 java.util.Date jsGet_published()
           
 java.lang.String jsGet_summary()
           
 java.lang.String jsGet_title()
           
 java.lang.String jsGet_updated()
           
 org.mozilla.javascript.Scriptable jsGet_XML()
           
 void jsSet_author(java.lang.String author)
           
 void jsSet_category(java.lang.String category)
           
 void jsSet_content(java.lang.Object content)
           
 void jsSet_contributor(java.lang.String contributor)
           
 void jsSet_description(java.lang.String newdescription)
           
 void jsSet_link(java.lang.String link)
           
 void jsSet_published(java.lang.Object published)
           
 void jsSet_summary(java.lang.Object summary)
           
 void jsSet_title(java.lang.Object title)
           
 void jsSet_updated(java.lang.Object updated)
           
 
Methods inherited from class org.mozilla.javascript.ScriptableObject
associateValue, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, get, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Entry

public Entry()
Method Detail

jsConstructor

public void jsConstructor()
Constructor the user will be using inside javaScript

Specified by:
jsConstructor in interface org.wso2.mashup.hostobjects.feed.IEntry

getClassName

public java.lang.String getClassName()
Specified by:
getClassName in interface org.mozilla.javascript.Scriptable
Specified by:
getClassName in interface org.wso2.mashup.hostobjects.feed.IEntry
Specified by:
getClassName in class org.mozilla.javascript.ScriptableObject

jsSet_author

public void jsSet_author(java.lang.String author)
Specified by:
jsSet_author in interface org.wso2.mashup.hostobjects.feed.IEntry

jsGet_author

public java.lang.Object jsGet_author()
Specified by:
jsGet_author in interface org.wso2.mashup.hostobjects.feed.IEntry

jsSet_description

public void jsSet_description(java.lang.String newdescription)

jsGet_description

public java.lang.String jsGet_description()

jsSet_category

public void jsSet_category(java.lang.String category)
Specified by:
jsSet_category in interface org.wso2.mashup.hostobjects.feed.IEntry

jsGet_category

public java.lang.String jsGet_category()
Specified by:
jsGet_category in interface org.wso2.mashup.hostobjects.feed.IEntry

jsSet_content

public void jsSet_content(java.lang.Object content)
Specified by:
jsSet_content in interface org.wso2.mashup.hostobjects.feed.IEntry

jsGet_content

public java.lang.String jsGet_content()
Specified by:
jsGet_content in interface org.wso2.mashup.hostobjects.feed.IEntry

jsSet_contributor

public void jsSet_contributor(java.lang.String contributor)
Specified by:
jsSet_contributor in interface org.wso2.mashup.hostobjects.feed.IEntry

jsGet_contributor

public java.lang.String jsGet_contributor()
Specified by:
jsGet_contributor in interface org.wso2.mashup.hostobjects.feed.IEntry

jsSet_link

public void jsSet_link(java.lang.String link)
                throws org.apache.abdera.i18n.iri.IRISyntaxException
Specified by:
jsSet_link in interface org.wso2.mashup.hostobjects.feed.IEntry
Throws:
org.apache.abdera.i18n.iri.IRISyntaxException

jsGet_link

public java.lang.String[] jsGet_link()
                              throws org.apache.abdera.i18n.iri.IRISyntaxException
Specified by:
jsGet_link in interface org.wso2.mashup.hostobjects.feed.IEntry
Throws:
org.apache.abdera.i18n.iri.IRISyntaxException

jsSet_published

public void jsSet_published(java.lang.Object published)
                     throws org.apache.axis2.AxisFault
Specified by:
jsSet_published in interface org.wso2.mashup.hostobjects.feed.IEntry
Throws:
org.apache.axis2.AxisFault

jsGet_published

public java.util.Date jsGet_published()
Specified by:
jsGet_published in interface org.wso2.mashup.hostobjects.feed.IEntry

jsSet_summary

public void jsSet_summary(java.lang.Object summary)
Specified by:
jsSet_summary in interface org.wso2.mashup.hostobjects.feed.IEntry

jsGet_summary

public java.lang.String jsGet_summary()
Specified by:
jsGet_summary in interface org.wso2.mashup.hostobjects.feed.IEntry

jsSet_title

public void jsSet_title(java.lang.Object title)
Specified by:
jsSet_title in interface org.wso2.mashup.hostobjects.feed.IEntry

jsGet_title

public java.lang.String jsGet_title()
Specified by:
jsGet_title in interface org.wso2.mashup.hostobjects.feed.IEntry

jsSet_updated

public void jsSet_updated(java.lang.Object updated)
                   throws org.apache.axis2.AxisFault
Specified by:
jsSet_updated in interface org.wso2.mashup.hostobjects.feed.IEntry
Throws:
org.apache.axis2.AxisFault

jsGet_updated

public java.lang.String jsGet_updated()
Specified by:
jsGet_updated in interface org.wso2.mashup.hostobjects.feed.IEntry

jsFunction_addMediaModule

public static void jsFunction_addMediaModule(org.mozilla.javascript.Context cx,
                                             org.mozilla.javascript.Scriptable thisObj,
                                             java.lang.Object[] arguments,
                                             org.mozilla.javascript.Function funObj)
                                      throws java.io.IOException
Parameters:
cx - Provides the current context
thisObj - Gives an instance of the js object from which this method was called
arguments - The argument for this is a Module object
funObj -
Throws:
java.io.IOException

jsFunction_getMediaModules

public static MediaModule[] jsFunction_getMediaModules(org.mozilla.javascript.Context cx,
                                                       org.mozilla.javascript.Scriptable thisObj,
                                                       java.lang.Object[] arguments,
                                                       org.mozilla.javascript.Function funObj)
                                                throws java.io.IOException
Parameters:
cx - Provides the current context
thisObj - Gives an instance of the js object from which this method was called
arguments - None
funObj -
Throws:
java.io.IOException

jsGet_XML

public org.mozilla.javascript.Scriptable jsGet_XML()
Specified by:
jsGet_XML in interface org.wso2.mashup.hostobjects.feed.IEntry
Returns:
the E4X XML of the contents in this AtomEntry object

jsFunction_toString

public java.lang.String jsFunction_toString()
Specified by:
jsFunction_toString in interface org.wso2.mashup.hostobjects.feed.IEntry