ds

Classes

goog.ds.AbstractFastDataNode
Creates a new abstract data node.
goog.ds.BaseDataNode
Base class for data node functionality, has default implementations for many of the functions. implements {goog.ds.DataNode}
goog.ds.BasicNodeList
Simple node list implementation with underlying array and map implements goog.ds.DataNodeList. Names that are reserved for system use and shouldn't be used for data node names: eval, toSource, toString, unwatch, valueOf, watch. Behavior is undefined if these names are used.
goog.ds.DataManager
Create a DataManger
goog.ds.DataNode
Interface for node in rich data tree. Names that are reserved for system use and shouldn't be used for data node names: eval, toSource, toString, unwatch, valueOf, watch. Behavior is undefined if these names are used.
goog.ds.DataNodeList
Interface for node list in rich data tree. Has both map and list-style accessors
goog.ds.EmptyNodeList
Immulatable empty node list
goog.ds.Expr
Create a new expression. An expression uses a string expression language, and from this string and a passed in DataNode can evaluate to a value, DataNode, or a DataNodeList.
goog.ds.FastDataNode
Creates a new fast data node, using the properties of root.
goog.ds.FastListNode
Creates a new list node from an array.
goog.ds.JsDataSource
Data source whose backing is JavaScript data Names that are reserved for system use and shouldn't be used for data node names: eval, toSource, toString, unwatch, valueOf, watch. Behavior is undefined if these names are used.
goog.ds.JsPropertyDataSource
Data source for JavaScript properties that arent objects. Contains reference to parent object so that you can set the vaule
goog.ds.JsXmlHttpDataSource
Similar to JsonDataSource, with using XMLHttpRequest for transport Currently requires the result be a JS object that can be evaluated and set to a variable and doesn't require strict JSON notation.
goog.ds.JsonDataSource
Data source whose backing is a JSON-like service, in which retreiving the resource specified by URL with the additional parameter callback. The resource retreived is executable JavaScript that makes a call to the named function with a JavaScript object literal as the only parameter. Example URI could be: http://www.google.com/data/search?q=monkey&callback=mycb which might return the JS: mycb({searchresults: [{uri: 'http://www.monkey.com', title: 'Site About Monkeys'}]}); TODO(user): Evaluate using goog.net.Jsonp here. A URI of an empty string will mean that no request is made and the data source will be a data source with no child nodes
goog.ds.PrimitiveFastDataNode
Creates a new data node wrapping a primitive value.
goog.ds.SortedNodeList
Node list implementation which maintains sort order during insertion and modification operations based on a comparison function. The SortedNodeList does not guarantee sort order will be maintained if the underlying data nodes are modified externally. Names that are reserved for system use and shouldn't be used for data node names: eval, toSource, toString, unwatch, valueOf, watch. Behavior is undefined if these names are used.
goog.ds.XmlDataSource
Data source whose backing is an xml node
goog.ds.XmlHttpDataSource
Data source whose backing is an XMLHttpRequest, A URI of an empty string will mean that no request is made and the data source will be a single, empty node.

Public Protected Private

Enumerations

goog.ds.LoadState :
Enum for load state of a DataNode.
Constants:
FAILED
No description.
LOADED
No description.
LOADING
No description.
NOT_LOADED
No description.
Code »

Global Properties

goog.ds.ExprTest :
No description.
Code »
goog.ds.FastDataNodeTest :
No description.
Code »
goog.ds.JsDataSourceTest :
No description.
Code »
goog.ds.JsXmlHttpDataSourceTest :
No description.
Code »
goog.ds.STR_ALL_CHILDREN_SELECTOR :
The character denoting all children.
Code »
goog.ds.STR_ARRAY_START :
The character denoting the start of an array.
Code »
goog.ds.STR_ATTRIBUTE_START :
The character denoting an attribute.
Code »
goog.ds.STR_PATH_SEPARATOR :
The character denoting path separation.
Code »
goog.ds.STR_WILDCARD :
The wildcard character.
Code »
goog.ds.Util :
No description.
Code »
goog.ds.logger : goog.debug.Logger
Shared logger instance for data package
Code »

Package ds

Package Reference