goog.ds.DataNode | |
goog.ds.XmlDataSource | goog.ds.DataNode |
goog.ds.XmlHttpDataSource | goog.ds.XmlDataSource |
uri
: (string,goog.Uri)
URL of the XMLHttpRequest.
|
name
: string
Name of the datasource.
implements goog.ds.XmlHttpDataSource.
|
![]()
Handles the completion of an XhrIo request. Dispatches to success or load
based on the result.
Arguments:
|
code » | ||
![]()
Failure result
|
code » | ||
![]()
Gets the state of the backing data for this node
Returns: goog.ds.LoadState
The state.
|
code » | ||
![]()
Load or reload the backing data for this node.
Fires the XMLHttpRequest
|
code » | ||
![]()
Success result. Checks whether valid XML was returned
and sets the XML and loadstate.
Arguments:
|
code » |
![]()
Creates the DataNodeList with the attributes for the element
Allows for only building list as needed.
|
code » | ||
![]()
Creates the DataNodeList with the child nodes for this element.
Allows for only building list as needed.
|
code » | ||
Get the value of the node
Returns: Object
The value of the node, or null if no value.
|
code » | ||
Gets a named child node of the current node
Arguments:
Returns: goog.ds.DataNode
The child node, or null if
no node of this name exists.
|
code » | ||
![]()
Gets the value of a child node
Arguments:
Returns: *
The value of the node, or null if no value or the child node
doesn't exist.
|
code » | ||
![]()
No description.
|
code » | ||
Get the name of the node relative to the parent node
Returns: string
The name of the node.
|
code » | ||
Gets the a qualified data path to this node
Returns: string
The data path.
|
code » | ||
![]()
Gets the state of the backing data for this node
Returns: goog.ds.LoadState
The state.
|
code » | ||
![]()
Load or reload the backing data for this node
|
code » | ||
![]()
Set the value of the node
Arguments:
|
code » | ||
![]()
Setthe name of the node relative to the parent node
Arguments:
|
code » | ||
![]()
Set the current root nodeof the data source.
Can be an attribute node, text node, or element node
Arguments:
|
code » |
![]()
Get the value of the node
Arguments:
Returns: *
The value of the node, or null if no value.
|
code » | |||
Gets a named child node of the current node
Arguments:
Returns: goog.ds.DataNode
The child node, or null
if no node of this name exists.
|
code » | |||
![]()
Gets the value of a child node
Arguments:
Returns: *
The value of the node, or null if no value or the child node
doesn't exist.
|
code » | |||
Gets all of the child nodes of the current node.
Should return an empty DataNode list if no child nodes.
Arguments:
Returns: !goog.ds.DataNodeList
The child nodes.
|
code » | |||
Get the name of the node relative to the parent node
Returns: string
The name of the node.
|
code » | |||
Gets the a qualified data path to this node
Returns: string
The data path.
|
code » | |||
![]()
Gets the state of the backing data for this node
Returns: goog.ds.LoadState
The state.
|
code » | |||
Whether the value of this node is a homogeneous list of data
Returns: boolean
True if a list.
|
code » | |||
![]()
Set the value of the node
Arguments:
|
code » | |||
Sets a named child node of the current node.
|
code » | |||
![]()
Set the name of the node relative to the parent node
Arguments:
|
code » |
![]()
Load or reload the backing data for this node
|
Code » |
![]()
No description.
|
Code » |