org.wso2.mashup.hostobjects.feed
Class Entry
java.lang.Object
org.mozilla.javascript.ScriptableObject
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
| 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()
|
| 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 |
Entry
public Entry()
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.Object 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.Object newdescription)
jsGet_description
public java.lang.String jsGet_description()
jsSet_category
public void jsSet_category(java.lang.Object 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.Object 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.Object link)
- Specified by:
jsSet_link in interface org.wso2.mashup.hostobjects.feed.IEntry
jsGet_link
public java.lang.String[] jsGet_link()
- Specified by:
jsGet_link in interface org.wso2.mashup.hostobjects.feed.IEntry
jsSet_published
public void jsSet_published(java.lang.Object published)
throws org.wso2.mashup.MashupFault
- Specified by:
jsSet_published in interface org.wso2.mashup.hostobjects.feed.IEntry
- Throws:
org.wso2.mashup.MashupFault
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.wso2.mashup.MashupFault
- Specified by:
jsSet_updated in interface org.wso2.mashup.hostobjects.feed.IEntry
- Throws:
org.wso2.mashup.MashupFault
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 org.wso2.mashup.MashupFault
- Parameters:
cx - Provides the current contextthisObj - Gives an instance of the js object from which this method was calledarguments - The argument for this is a Module objectfunObj -
- Throws:
org.wso2.mashup.MashupFault
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)
- Parameters:
cx - Provides the current contextthisObj - Gives an instance of the js object from which this method was calledarguments - NonefunObj -
- Throws:
org.wso2.mashup.MashupFault
jsGet_XML
public org.mozilla.javascript.Scriptable jsGet_XML()
throws org.wso2.mashup.MashupFault
- Specified by:
jsGet_XML in interface org.wso2.mashup.hostobjects.feed.IEntry
- Returns:
- the E4X XML of the contents in this AtomEntry object
- Throws:
org.wso2.mashup.MashupFault
jsFunction_toString
public java.lang.String jsFunction_toString()
- Specified by:
jsFunction_toString in interface org.wso2.mashup.hostobjects.feed.IEntry
getType
public java.lang.String getType()
setType
public void setType(java.lang.Object type)