goog.ds.DataNode | |
goog.ds.DataNodeList | goog.ds.DataNode |
goog.ds.AbstractFastDataNode | goog.ds.DataNodeList |
goog.ds.PrimitiveFastDataNode | goog.ds.AbstractFastDataNode |
value
: number | boolean | string
Value the value to wrap.
|
dataName
: string
name Name of this data node.
|
opt_parent
: goog.ds.DataNode=
Parent of this data node.
|
Returns the value of this data node.
|
code » | ||
Get a child node by name. Always returns null.
Arguments:
Returns: goog.ds.DataNode
Child node.
|
code » | ||
Returns the value of a child node. Always returns null.
|
code » | ||
Returns child nodes of this data node. Always returns an unmodifiable,
empty list.
Returns: !goog.ds.DataNodeList
(Empty) list of child nodes.
|
code » | ||
![]()
Returns a javascript object representation of this data node. You should
not modify the object returned by this function.
Returns: *
Javascript object representation of this data node.
|
code » | ||
Returns whether this data node is a list. Always returns false for
instances of PrimitiveFastDataNode.
Returns: boolean
Whether this data node is array-like.
|
code » | ||
![]()
Sets this data node to a new value.
Arguments:
|
code » | ||
![]()
Not supported by primitive data nodes.
|
code » |
![]()
Add a node to the node list.
If the node has a dataName, uses this for the key in the map.
Arguments:
|
code » | |||
![]()
Get a node by string key.
Returns null if node doesn't exist.
Arguments:
Returns: *
The node, or null if doesn't exist.
|
code » | |||
Get a node by index
Returns null if the index is out of range
Arguments:
Returns: goog.ds.DataNode
The node, or null if doesn't exist.
|
code » | |||
Gets the size of the node list
Returns: number
The size of the list.
|
code » | |||
Removes a node in the list of a given name
|
code » | |||
![]()
Sets a node in the list of a given name
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 » |