goog.ds.XmlHttpDataSource
Classgoog.ds.XmlHttpDataSource
> goog.ds.XmlDataSource
> goog.ds.DataNode
goog.ds.XmlHttpDataSource(uri, name)
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.
uri
{(string
,goog.Uri
)}
name
{string
}
.get(var_args)
Inherited from goog.ds.XmlDataSource
.
Get the value of the node
var_args
{...?}
Object
}
.getChildNode(name)
Inherited from goog.ds.XmlDataSource
.
Gets a named child node of the current node
name
{string
}
goog.ds.DataNode
}
.getChildNodeValue(name)
Inherited from goog.ds.XmlDataSource
.
Gets the value of a child node
name
{string
}
.getChildNodes(opt_selector)
Inherited from goog.ds.XmlDataSource
.
Gets all of the child nodes of the current node. Should return an empty DataNode list if no child nodes.
opt_selector
{string
=}
goog.ds.DataNodeList
}
.getDataName()
Inherited from goog.ds.XmlDataSource
.
Get the name of the node relative to the parent node
string
}
.getDataPath()
Inherited from goog.ds.XmlDataSource
.
Gets the a qualified data path to this node
string
}
.getLoadState()
Gets the state of the backing data for this node
goog.ds.LoadState
}
.isList()
Inherited from goog.ds.DataNode
.
Whether the value of this node is a homogeneous list of data
boolean
}
.load()
Load or reload the backing data for this node. Fires the XMLHttpRequest
.set(value)
Inherited from goog.ds.XmlDataSource
.
Set the value of the node
value
{*}
.setChildNode(name, value)
Inherited from goog.ds.DataNode
.
Sets a named child node of the current node.
name
{string
}
value
{Object
}
Object
}
.setDataName(name)
Inherited from goog.ds.XmlDataSource
.
Setthe name of the node relative to the parent node
name
{string
}