goog.ds.DataNode | |
goog.ds.XmlDataSource | goog.ds.DataNode |
goog.ds.XmlHttpDataSource | goog.ds.XmlDataSource |
node
: Node
The XML node. Can be null.
|
parent
: goog.ds.XmlDataSource
Parent of XML element. Can be null.
|
opt_name
: string=
The name of this node relative to the parent node.
|
![]()
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 » |
Creates an XML document with one empty node.
Useful for places where you need a node that
can be queried against.
Returns: Document
Document with one empty node.
|
code » | |
Check whether a node is an empty text node. Nodes consisting of only white
space (#x20, #xD, #xA, #x9) can generally be collapsed to a zero length
text string.
|
code » |
![]()
Constant to select XML attributes for getChildNodes
|
Code » |