Lines Matching refs:node
69 // Number of lower bits used to represent node index.
71 // Masks the lower order of node handle.
84 protected int m_currentNode = -1; // current node
158 * all node ID numbers, so those IDs indicate which document they
412 // Actually creating the text node is handled by
418 // Flush string accumulation into a text node
631 // wait for the first startElement to create the doc root node
667 // * Factory method; creates an Element node in this document.
669 // * The node created will be chained according to its natural order of request
674 // * to prepare and patch up parent and sibling node pointers.</p>
679 // * @param nsIndex The namespace of the node
687 // // do document root node creation here on the first element, create nodes for
689 // // name indexes to the nodes array, keep track of the current node and parent
706 // // set the root element pointer when creating the first element node
712 // // Factory method to create an Element node not associated with a given name space
715 // * Factory method; creates an Element node not associated with a given name space in this document.
717 // * The node created will be chained according to its natural order of request
722 // * to prepare and patch up parent and sibling node pointers.</p>
725 // * symbols used in an Element node.</p>
747 // // Factory method to create an Element node associated with a given name space
750 // * Factory method; creates an Element node associated with a given name space in this document.
752 // * The node created will be chained according to its natural order of request
757 // * to prepare and patch up parent and sibling node pointers.</p>
760 // * symbols used in an Element node.</p>
762 // * @param ns String the namespace of the node
818 // * Creates attributes for the current node.
834 // * @return Handle of node
857 // // Add node
880 // * Factory method; creates a Text node in this document.
882 // * The node created will be chained according to its natural order of request
886 // * @return int DTM node-number of the text node created
896 // * Factory method; creates a Text node in this document.
898 // * The node created will be chained according to its natural order of request
932 // * Factory method; creates a Comment node in this document.
934 // * The node created will be chained according to its natural order of request
938 // * @return int DTM node-number of the text node created
948 // * Factory method; creates a Comment node in this document.
950 // * The node created will be chained according to its natural order of request
989 /** Given a node handle, test if it has child nodes.
992 * node. It's less useful in the DTM API, where
997 * @param nodeHandle int Handle of the node.
998 * @return int true if the given node has child nodes.
1005 * Given a node handle, get the handle of the node's first child.
1009 * @param nodeHandle int Handle of the node.
1010 * @return int DTM node-number of first child, or DTM.NULL to indicate none exists.
1016 // Read node into variable
1022 // Check to see if Element or Document node
1038 // Return NULL if node has only attributes
1056 * Given a node handle, advance to its last child.
1060 * @param nodeHandle int Handle of the node.
1067 // do not need to test node type since getFirstChild does that
1077 * Retrieves an attribute node by by qualified name and namespace URI.
1079 * @param nodeHandle int Handle of the node upon which to look up this attribute.
1084 * @return The attribute node handle with the specified name (
1109 * Given a node handle, get the index of the node's first attribute.
1111 * @param nodeHandle int Handle of the Element node.
1118 // call readEntry repeatedly on the same node, it may be
1132 * Given a node handle, get the index of the node's first child.
1136 * @param nodeHandle handle to node, which should probably be an element
1137 * node, but need not be.
1150 * Given a node handle, advance to its next sibling.
1162 * @param nodeHandle int Handle of the node.
1192 * Given a node handle, find its preceeding sibling.
1196 * @param nodeHandle the id of the node.
1216 * Given a node handle, advance to the next attribute. If an
1218 * the next attr on the same node.
1220 * @param nodeHandle int Handle of the node.
1221 * @return int DTM node-number of the resolved attr,
1250 * @param namespaceHandle handle to node which must be of type NAMESPACE_NODE.
1259 * Given a node handle, advance to its next descendant.
1264 * @param nodeHandle int Handle of the node.
1275 // Document done and node out of bounds
1304 * Given a node handle, advance to the next node on the following axis.
1317 * Given a node handle, advance to the next node on the preceding axis.
1320 * @param nodeHandle the id of the node.
1346 * Given a node handle, find its parent node.
1348 * @param nodeHandle the id of the node.
1368 * Given a node handle, find the owning document node.
1377 * Given a node handle, find the owning document node. This has the exact
1379 * the nodeHandle is a document node, it will return NULL.
1385 * @param nodeHandle the id of the node.
1397 * Given a node handle, find the owning document node. This has the DTM
1398 * semantics; a Document node is its own owner.
1404 * @param nodeHandle the id of the node.
1416 * Get the string-value of a node as a String object
1418 * for the definition of a node's string-value).
1420 * @param nodeHandle The node ID.
1422 * @return A string object that represents the string-value of the given node.
1449 * the string-value of a node.
1451 * for the definition of a node's string-value).
1452 * Note that a single text node may have multiple text chunks.
1457 * FastStringBuffer may split a single node's text across
1461 * number of SAX characters() events that caused the text node
1465 * @param nodeHandle The node ID.
1468 * the string-value of a node.
1478 * Get a character array chunk in the string-value of a node.
1480 * for the definition of a node's string-value).
1481 * Note that a single text node may have multiple text chunks.
1486 * FastStringBuffer may split a single node's text across
1491 * characters() events that caused the text node to be built
1495 * @param nodeHandle The node ID.
1506 * Given a node handle, return an ID that represents the node's expanded name.
1508 * @param nodeHandle The handle to the node in question.
1510 * @return the expanded-name id of the node.
1535 * @return the expanded-name id of the node.
1554 * @return String Local name of this node.
1571 * @return String URI value of this node's namespace, or null if no
1599 * Given a node handle, return its DOM-style node name. This will
1602 * @param nodeHandle the id of the node.
1603 * @return String Name of this node, which may be an empty string.
1623 * Given a node handle, return the XPath node name. This should be
1627 * @param nodeHandle the id of the node.
1628 * @return String Name of this node.
1633 * Given a node handle, return its DOM-style localname.
1640 * @param nodeHandle the id of the node.
1641 * @return String Local name of this node.
1658 * Given a node handle, return the prefix used to map to the namespace.
1665 * @param nodeHandle the id of the node.
1666 * @return String prefix of this node's name, or "" if no explicit
1682 * Given a node handle, return its DOM-style namespace URI
1683 * (As defined in Namespaces, this is the declared URI which this node's
1686 * @param nodeHandle the id of the node.
1687 * @return String URI value of this node's namespace, or null if no
1693 * Given a node handle, return its node value. This is mostly
1697 * @param nodeHandle The node id.
1698 * @return String Value of this node, or null if not
1699 * meaningful for this node type.
1704 int nodetype=gotslot[0] & 0xFF; // ###zaj use mask to get node type
1725 * Given a node handle, return its DOM-style node type.
1729 * @param nodeHandle The node id.
1737 * Get the depth level of this node in the tree (equals 1 for
1738 * a parentless node).
1740 * @param nodeHandle The node id.
1757 * that feature is supported by this node.
1765 * supported on this node, <code>false</code> otherwise.
1797 * @param nodeHandle The node id, which can be any valid node handle.
1806 * @param nodeHandle The node id, which can be any valid node handle.
1818 * @param nodeHandle The node id, which can be any valid node handle.
1889 * node (see [3.3 Unparsed Entities]). It returns the empty string if
1966 * @param nodeHandle the node ID.
1980 * @param documentHandle A node handle that must identify a document.
2002 * string-value of the given node (see http://www.w3.org/TR/xpath#data-model
2003 * for the definition of a node's string-value). Multiple calls to the
2007 * @param nodeHandle The node ID.
2019 * @param nodeHandle The node ID.
2029 * Return an DOM node for the given node.
2031 * @param nodeHandle The node ID.
2033 * @return A node representation of the DTM node.
2046 * Append a child to the end of the child list of the current node. Please note that the node
2052 * @param newChild Must be a valid new node handle.
2067 * Append a text node child that will be constructed from a string,
2090 * @param m_char_current_start int Starting offset of node's content in m_char.
2091 * @param contentLength int Length of node's content in m_char.
2113 * @param m_char_current_start int Starting offset of node's content in m_char.
2114 * @param contentLength int Length of node's content in m_char.
2140 * Note that this _only_ handles the Element node itself. Attrs and
2150 // do document root node creation here on the first element, create nodes for
2152 // name indexes to the nodes array, keep track of the current node and parent
2170 // set the root element pointer when creating the first element node
2183 * as being a node ID. I don't really want to support that stupidity,
2189 // %REVIEW% I'm assigning this node the "namespace for namespaces"
2210 // Add node
2229 * @param m_char_current_start int Starting offset of node's content in m_char.
2230 * @param contentLength int Length of node's content in m_char.
2248 // Add node
2286 * with a start node (using iterator.setStartNode()).
2375 * @param node an <code>int</code> value
2378 public SourceLocator getSourceLocatorFor(int node)