Lines Matching refs:node
147 Node node;
150 while (null != (node = iterator.nextNode()))
152 int handle = xctxt.getDTMHandleFromNode(node);
172 Node node = nodeList.item(i);
173 int handle = xctxt.getDTMHandleFromNode(node);
183 * @param node Single node to be added to the new set.
185 public NodeSetDTM(int node, DTMManager dtmManager)
191 addNode(node);
196 * a node (the context node... same value as "root" defined below)
214 * @return The root node of the Iterator, as specified when it was created.
291 * This attribute determines which node types are presented via the
330 * expanded and does not expose the entity reference node itself, use the
331 * whatToShow flags to hide the entity reference node and set
334 * expansion, use the whatToShow flags to show the entity reference node
347 * Get an instance of a DTM that "owns" a node handle. Since a node
365 * Get an instance of the DTMManager. Since a node
378 * Returns the next node in the set and advances the position of the
380 * to nextNode() returns the first node in the set.
403 * Returns the previous node in the set and moves the position of the
411 * a cached type, and hence doesn't know what the previous node was.
418 XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESETDTM_CANNOT_ITERATE, null)); //"This NodeSetDTM can not iterate to a previous node!");
458 * first node in the set.
460 * @return true if nextNode() would return the first node in the set,
501 * @return The node at the <code>index</code>th position in the
514 * The number of nodes in the list. The range of valid child node indices is
530 * Add a node to the NodeSetDTM. Not all types of NodeSetDTMs support this
547 * Insert a node at a given position.
550 * @param pos Offset at which the node is to be inserted,
565 * Remove a node.
583 // * document order. If a node is null, don't add it.
617 // * document order. Only genuine node references will be copied;
670 // * document order. If a node is null, don't add it.
687 // int node = nodelist.item(i);
689 // if (null != node)
691 // addNodeInDocOrder(node, support);
698 * document order. If a node is null, don't add it.
711 int node;
713 while (DTM.NULL != (node = iterator.nextNode()))
715 addNodeInDocOrder(node, support);
721 // * Add the node list to this node set in document order.
742 // int node = nodelist.item(testIndex);
748 // if (child == node)
755 // if (!support.getDOMHelper().isNodeAfter(node, child))
757 // insertElementAt(node, i + 1);
778 // insertElementAt(node, 0);
785 * Add the node into a vector of nodes where it should occur in
787 * @param node The node to be added.
794 public int addNodeInDocOrder(int node, boolean test, XPathContext support)
814 if (child == node)
821 DTM dtm = support.getDTM(node);
822 if (!dtm.isNodeAfter(node, child))
832 insertElementAt(node, insertIndex);
843 if (i == node)
852 addElement(node);
860 * Add the node into a vector of nodes where it should occur in
862 * @param node The node to be added.
869 public int addNodeInDocOrder(int node, XPathContext support)
875 return addNodeInDocOrder(node, true, support);
881 * @return The size of this node set.
891 * @param value The node to be added.
905 * Inserts the specified node in this vector at the specified index.
910 * @param value The node to be inserted.
927 * @param nodes The nodes to be appended to this node set.
941 * Inserts the specified node in this vector at the specified index.
964 * @param s The node to be removed.
966 * @return True if the node was successfully removed
985 * @param i The index of the node to be removed.
1005 * @param node The node to be set.
1006 * @param index The index of the node to be replaced.
1010 public void setElementAt(int node, int index)
1016 super.setElementAt(node, index);
1022 * @param node The node to be set.
1023 * @param index The index of the node to be replaced.
1027 public void setItem(int node, int index)
1033 super.setElementAt(node, index);
1039 * @param i The index of the requested node.
1052 * Tell if the table contains the given node.
1056 * @return True if the given node was found.
1103 /** If this node is being used as an iterator, the next index that nextNode()
1121 * Set the current position in the node set.
1137 * Return the last fetched node. Needed to support the UnionPathIterator.
1139 * @return the last fetched node.
1171 * Get whether or not this is a cached node set.
1187 * @param b true if this node set should be cached.
1205 * the <code>setItem(int node, int index)</code> method.