Constructordojox.data.AtomReadStore

dojo.require("dojox.data.AtomReadStore");
defined in dojox/data/AtomReadStore.js

A data store for Atom XML based services or documents. This store is still under development and doesn't support wildcard filtering yet. Attribute filtering is limited to category or id.

Usage

function (/*Object*/ args) (view source)
parametertypedescription
argsObjectAn anonymous object to initialize properties. It expects the following values:

Jump to PropertiesFunctionsBack to top

See dojo.data.api.Read.close()
FunctioncontainsValue(item, attribute, value)
Check whether the attribute values contain the value
Return an array of attribute names
Return supported data APIs
FunctiongetFeedValue(attribute, defaultValue)
Non-API method for retrieving values regarding the Atom feed, rather than the Atom entries.
FunctiongetFeedValues(attribute, defaultValue)
Non-API method for retrieving values regarding the Atom feed, rather than the Atom entries.
FunctiongetLabel(item)
See dojo.data.api.Read.getLabel()
See dojo.data.api.Read.getLabelAttributes()
FunctiongetValue(item, attribute, defaultValue)
Return an attribute value
FunctiongetValues(item, attribute)
Return an attribute value
FunctionhasAttribute(item, attribute)
Check whether an element has the attribute
FunctionisItem(something)
Check whether the object is an item (XML element) item: An object to check
FunctionisItemLoaded(something)
Check whether the object is an item (XML element) and loaded item: An object to check
FunctionloadItem(keywordArgs: Object)
Load an item (XML element)
Function_assertIsAttribute(attribute)
This function tests whether the item passed in is indeed a valid 'attribute' like type for the store.
This function tests whether the item passed in is indeed an item in the store.
Function_fetchItems(request, fetchHandler, errorHandler)
Retrieves the items from the Atom XML document.
Function_getFetchUrl(request)
Function_getItem(element)
Function_getItems(document, request)
Parses the document in a first pass
Function_initItem(item)
Initializes an item before it can be parsed.
Function_parseItem(item)

Jump to FunctionsPropertiesBack to top

boolean indicate to add a query string to the service URL
boolean to specify whether or not to unescape HTML text
url to a service or an XML document that represents the store