org.wso2.mashup.hostobjects.atom
Class AtomEntryHostObject

java.lang.Object
  extended by org.mozilla.javascript.ScriptableObject
      extended by org.wso2.mashup.hostobjects.atom.AtomEntryHostObject
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 AtomEntryHostObject
extends org.mozilla.javascript.ScriptableObject
implements org.wso2.mashup.hostobjects.feed.IEntry

This is a Mozilla Rhino Host Object implementation which tries to provide a javascript representation of the AtomEntry defined in the ATOM specification.

The "atom:entry" element represents an individual entry, acting as a container for metadata and data associated with the entry. This element can appear as a child of the atom:feed element, or it can appear as the document (i.e., top-level) element of a stand-alone Atom Entry Document.

  atomEntry =
  element atom:entry {atomCommonAttributes,
  (atomAuthor*
  & atomCategory*
  & atomContent?
  & atomContributor*
  & atomId
  & atomLink*
  & atomPublished?
  & atomRights?
  & atomSource?
  & atomSummary?
  & atomTitle
  & atomUpdated
  & extensionElement*)
  }
 

This specification assigns no significance to the order of appearance of the child elements of atom:entry.

The following child elements are defined by this specification (note that it requires the presence of some of these elements):

 
 

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
AtomEntryHostObject()
           
AtomEntryHostObject(org.mozilla.javascript.Scriptable arg0, org.mozilla.javascript.Scriptable arg1)
           
 
Method Summary
 java.lang.String getClassName()
           
 void jsConstructor()
          Constructor the user will be using inside javaScript
 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_id()
           
 java.lang.String[] jsGet_link()
           
 java.util.Date jsGet_published()
           
 java.lang.String jsGet_rights()
           
 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_id(java.lang.Object id)
           
 void jsSet_link(java.lang.String link)
           
 void jsSet_published(java.lang.Object published)
           
 void jsSet_rights(java.lang.Object rights)
           
 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

AtomEntryHostObject

public AtomEntryHostObject()

AtomEntryHostObject

public AtomEntryHostObject(org.mozilla.javascript.Scriptable arg0,
                           org.mozilla.javascript.Scriptable arg1)
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_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_id

public void jsSet_id(java.lang.Object id)
              throws org.apache.abdera.i18n.iri.IRISyntaxException
Throws:
org.apache.abdera.i18n.iri.IRISyntaxException

jsGet_id

public java.lang.String jsGet_id()
                          throws org.apache.abdera.i18n.iri.IRISyntaxException
Throws:
org.apache.abdera.i18n.iri.IRISyntaxException

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_rights

public void jsSet_rights(java.lang.Object rights)

jsGet_rights

public java.lang.String jsGet_rights()

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

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