Function
initializer
This object implements a transport layer for working with ATOM feeds and ATOM publishing protocols. Specifically, it provides a mechanism by which feeds can be fetched and entries can be fetched, created deleted, and modified. It also provides access to the introspection data.
Function
The URL of the ATOM feed to fetch.
A function reference that will handle the feed when it has been retrieved. The callback should accept two parameters: The feed object and the original complete DOM object.
The scope to use for all callbacks.
Function to obtain a s specific ATOM feed from a given ATOM Feed url.
This function takes the URL for a specific ATOM feed and returns the data from that feed to the caller through the use of a callback handler.
Nothing. The return is handled through the callback handler.
Function
The URL of the ATOM document to obtain the introspection document of.
A function reference that will handle the introspection document when it has been retrieved. The callback should accept two parameters: The introspection document object and the original complete DOM object.
Function to retrieve an introspection document from the given URL.
This function takes the URL for an ATOM item and feed and returns the introspection document.
Nothing. The return is handled through the callback handler.
Function
The URL of the ATOM Entry document to parse.
A function reference that will handle the Entry object obtained. The callback should accept two parameters, the dojox.atom.io.model.Entry object and the original dom.
Function to retrieve a single entry from an ATOM feed from the given URL.
This function takes the URL for an ATOM entry and returns the constructed dojox.atom.io.model.Entry object through the specified callback.
Nothing. The return is handled through the callback handler.
Function
The URL of the XML document to retrieve
A function reference that will handle the retrieved XML data. The callback should accept one parameter, the DOM of the parsed XML document.
Internal Function to retrieve an XML document and pass the results to a callback.
This internal function takes the URL for an XML document and and passes the parsed contents to a specified callback.
Nothing. The return is handled through the callback handler.
Function
The dojox.atom.io.model.Entry object to update.
A function reference that will handle the results from the entry update. The callback should accept two parameters: The first is an Entry object, and the second is the URL of that Entry Either can be null, depending on the value of retrieveUpdated.
A boolean flag denoting if the entry that was updated should then be retrieved and returned to the caller via the callback.
Whether to use POST for PUT/DELETE items and send the X-Method-Override header.
The scope to use for all callbacks.
Function to update a specific ATOM entry by putting the new changes via APP.
This function takes a specific dojox.atom.io.model.Entry object and pushes the changes back to the provider of the Entry. The entry MUST have a link tag with rel="edit" for this to work.
Nothing. The return is handled through the callback handler.
Function
The dojox.atom.io.model.Entry object to publish.
A function reference that will handle the results from the entry publish. The callback should accept two parameters: The first is an dojox.atom.io.model.Entry object, and the second is the location of the entry Either can be null, depending on the value of retrieveUpdated.
A boolean flag denoting if the entry that was created should then be retrieved and returned to the caller via the callback.
The scope to use for all callbacks.
Function to add a new ATOM entry by posting the new entry via APP.
This function takes a specific dojox.atom.io.model.Entry object and pushes the changes back to the provider of the Entry.
Nothing. The return is handled through the callback handler.
Function
The dojox.atom.io.model.Entry object to delete.
A function reference that will handle the results from the entry delete. The callback is called only if the delete is successful.
Function to delete a specific ATOM entry via APP.
This function takes a specific dojox.atom.io.model.Entry object and calls for a delete on the service housing the ATOM Entry database. The entry MUST have a link tag with rel="edit" for this to work.
Nothing. The return is handled through the callback handler.
Object
Object
Object