Lines Matching refs:node

52   // node of a DTM.
53 /** The identity of the root node. */
58 * node index.
62 /** The expanded names, one array element for each node. */
65 /** First child values, one array element for each node. */
68 /** Next sibling values, one array element for each node. */
71 /** Previous sibling values, one array element for each node. */
74 /** Previous sibling values, one array element for each node. */
92 /** The default block size of the node arrays */
95 /** The number of blocks for the node arrays */
101 /** The block size of the node arrays */
178 * Construct a DTMDefaultBase object from a DOM node.
189 * @param usePrevsib true if we want to build the previous sibling node array.
198 // Use smaller sizes for the internal node arrays if the block size
313 * Add a node to the element indexes. The node will not be added unless
316 * @param expandedTypeID The expanded type ID of the node.
317 * @param identity The node identity index.
351 * to the identity argument, or -1 if no node is higher or equal.
378 * given node.
384 * @return The first node that is greater than or equal to the
416 * Get the next node identity value in the list, and call the iterator
419 * @param identity The node identity (index).
427 * @return The true if a next node is found or false if
455 * Get the simple type ID for the given node identity.
457 * @param identity The node identity.
473 * Get the expanded type ID for the given node identity.
475 * @param identity The node identity.
496 * Get the level in the tree for the given node identity.
498 * @param identity The node identity.
518 * Get the first child for the given node identity.
520 * @param identity The node identity.
551 * Get the next sibling for the given node identity.
553 * @param identity The node identity.
583 * Get the previous sibling for the given node identity.
585 * @param identity The node identity.
610 * Get the parent for the given node identity.
612 * @param identity The node identity.
780 * Diagnostics function to dump a single node.
782 * %REVIEW% KNOWN GLITCH: If you pass it a node index rather than a
783 * node handle, it works just fine... but the displayed identity
868 * Given a node handle, test if it has child nodes.
871 * node. It's less useful in the DTM API, where
876 * @param nodeHandle int Handle of the node.
877 * @return int true if the given node has child nodes.
888 /** Given a node identity, return a node handle. If extended addressing
899 * @param nodeIdentity Internal offset to this node's records.
900 * @return NodeHandle (external representation of node)
913 /** Given a node handle, return a node identity. If extended addressing
926 * @param nodeHandle (external representation of node)
927 * @return nodeIdentity Internal offset to this node's records.
962 * Given a node handle, get the handle of the node's first child.
966 * @param nodeHandle int Handle of the node.
967 * @return int DTM node-number of first child, or DTM.NULL to indicate none exists.
979 * Given a node handle, get the handle of the node's first child.
983 * @param nodeHandle int Handle of the node.
984 * @return int DTM node-number of first child, or DTM.NULL to indicate none exists.
1014 * Given a node handle, advance to its last child.
1018 * @param nodeHandle int Handle of the node.
1039 * Retrieves an attribute node by by qualified name and namespace URI.
1041 * @param nodeHandle int Handle of the node upon which to look up this attribute..
1046 * @return The attribute node handle with the specified name (
1054 * Given a node handle, get the index of the node's first attribute.
1056 * @param nodeHandle int Handle of the node.
1067 * Given a node identity, get the index of the node's first attribute.
1069 * @param identity int identity of the node.
1099 * Given a node handle and an expanded type ID, get the index of the node's
1102 * @param nodeHandle int Handle of the node.
1131 * Given a node handle, advance to its next sibling.
1134 * @param nodeHandle int Handle of the node.
1146 * Given a node handle, advance to its next sibling.
1149 * @param nodeHandle int Handle of the node.
1157 int node = makeNodeIdentity(nodeHandle);
1159 while ((node = _nextsib(node)) != DTM.NULL &&
1160 ((eType = _exptype(node)) != nodeType &&
1162 //_type(node) != nodeType));
1164 return (node == DTM.NULL ? DTM.NULL : makeNodeHandle(node));
1168 * Given a node handle, find its preceeding sibling.
1172 * @param nodeHandle the id of the node.
1190 int node = _firstch(parent);
1192 while (node != nodeID)
1194 result = node;
1195 node = _nextsib(node);
1202 * Given a node handle, advance to the next attribute.
1204 * the next attr on the same node. If not an attribute, we return NULL.
1206 * @param nodeHandle int Handle of the node.
1207 * @return int DTM node-number of the resolved attr,
1221 * Given a node identity for an attribute, advance to the next attribute.
1223 * @param identity int identity of the attribute node. This
1224 * <strong>must</strong> be an attribute node.
1226 * @return int DTM node-identity of the resolved attr,
1251 * SuballocatedIntVectors containing the namespace node HANDLES declared at
1252 * that ID, plus an SuballocatedIntVector of the element node INDEXES at which
1333 * active at this node. List is an SuballocatedIntVector whose
1334 * entries are the namespace node HANDLES declared at that ID.
1360 // Special case: if the candidate is before the given node, and
1399 return null; // No namespaces known at this node
1403 * Subroutine: Locate the specified node within
1447 * Given a node handle, get the index of the node's first child.
1451 * @param nodeHandle handle to node, which should probably be an element
1452 * node, but need not be.
1504 * @param baseHandle handle to original node from where the first namespace
1506 * @param nodeHandle A namespace handle for which we will find the next node.
1552 * Given a node handle, find its parent node.
1554 * @param nodeHandle the id of the node.
1570 * Find the Document node handle for the document currently under construction.
1583 * Given a node handle, find the owning document node. This has the exact
1585 * the nodeHandle is a document node, it will return NULL.
1591 * @param nodeHandle the id of the node.
1592 * @return int Node handle of owning document, or -1 if the node was a Docment
1604 * Given a node handle, find the owning document node. Unlike the DOM,
1607 * @param nodeHandle the id of the node.
1617 * Get the string-value of a node as a String object
1619 * for the definition of a node's string-value).
1621 * @param nodeHandle The node ID.
1623 * @return A string object that represents the string-value of the given node.
1629 * the string-value of a node.
1631 * for the definition of a node's string-value).
1632 * Note that a single text node may have multiple text chunks.
1634 * @param nodeHandle The node ID.
1637 * the string-value of a node.
1649 * Get a character array chunk in the string-value of a node.
1651 * for the definition of a node's string-value).
1652 * Note that a single text node may have multiple text chunks.
1654 * @param nodeHandle The node ID.
1672 * Given a node handle, return an ID that represents the node's expanded name.
1674 * @param nodeHandle The handle to the node in question.
1676 * @return the expanded-name id of the node.
1680 // %REVIEW% This _should_ only be null if someone asked the wrong DTM about the node...
1702 * @return the expanded-name id of the node.
1716 * @return String Local name of this node.
1727 * @return String URI value of this node's namespace, or null if no
1736 * Returns the namespace type of a specific node
1737 * @param nodeHandle the id of the node.
1750 * Given a node handle, return its DOM-style node name. This will
1753 * @param nodeHandle the id of the node.
1754 * @return String Name of this node, which may be an empty string.
1761 * Given a node handle, return the XPath node name. This should be
1765 * @param nodeHandle the id of the node.
1766 * @return String Name of this node, which may be an empty string.
1778 * Given a node handle, return its XPath-style localname.
1782 * @param nodeHandle the id of the node.
1783 * @return String Local name of this node.
1790 * Given a node handle, return the prefix used to map to the namespace.
1795 * @param nodeHandle the id of the node.
1796 * @return String prefix of this node's name, or "" if no explicit
1802 * Given a node handle, return its DOM-style namespace URI
1803 * (As defined in Namespaces, this is the declared URI which this node's
1808 * @param nodeHandle the id of the node.
1809 * @return String URI value of this node's namespace, or null if no
1815 * Given a node handle, return its node value. This is mostly
1819 * @param nodeHandle The node id.
1820 * @return String Value of this node, or null if not
1821 * meaningful for this node type.
1826 * Given a node handle, return its DOM-style node type.
1829 * %REVIEW% Make assumption that node has already arrived. Is OK?
1831 * @param nodeHandle The node id.
1842 * Get the depth level of this node in the tree (equals 1 for
1843 * a parentless node).
1845 * @param nodeHandle The node id.
1857 * Get the identity of this node in the tree
1859 * @param nodeHandle The node handle.
1860 * @return the node identity
1874 * Get the handle of this node in the tree
1876 * @param nodeId The node identity.
1877 * @return the node handle
1894 * that feature is supported by this node.
1902 * supported on this node, <code>false</code> otherwise.
1937 * @param nodeHandle The node id, which can be any valid node handle.
1951 * @param nodeHandle The node id, which can be any valid node handle.
1969 * @param nodeHandle The node id, which can be any valid node handle.
2051 * node (see [3.3 Unparsed Entities]). It returns the empty string if
2115 // These return NULL if the node doesn't belong to this document.
2134 * @param nodeHandle the node ID.
2153 * @param documentHandle A node handle that must identify a document.
2179 * string-value of the given node (see http://www.w3.org/TR/xpath#data-model
2180 * for the definition of a node's string-value). Multiple calls to the
2184 * @param nodeHandle The node ID.
2200 * @param nodeHandle The node ID.
2210 * Return an DOM node for the given node.
2212 * @param nodeHandle The node ID.
2214 * @return A node representation of the DTM node.
2224 * Append a child to the end of the document. Please note that the node
2230 * @param newChild Must be a valid new node handle.
2241 * Append a text node child that will be constructed from a string,