Home | History | Annotate | Download | only in xpath

Lines Matching refs:nodelist

30 import org.w3c.dom.NodeList;
37 * NodeList, or NodeIterator. However, in order for it to
38 * act as a NodeVector or NodeList, it's required that
52 * <p>Thought: Should NodeSet really implement NodeList and NodeIterator,
60 implements NodeList, NodeIterator, Cloneable, ContextNodeList
64 * Create an empty nodelist.
85 * given nodelist into it.
87 * @param nodelist List of Nodes to be made members of the new set.
89 public NodeSet(NodeList nodelist)
94 addNodes(nodelist);
101 * @param nodelist Set of Nodes to be made members of the new set.
103 public NodeSet(NodeSet nodelist)
108 addNodes((NodeIterator) nodelist);
344 * <code>NodeList</code>, or <code>null</code> if that is not a valid
423 * Copy NodeList members into this nodelist, adding in
426 * @param nodelist List of nodes which should now be referenced by
431 public void addNodes(NodeList nodelist)
437 if (null != nodelist) // defensive to fix a bug that Sanjiva reported.
439 int nChildren = nodelist.getLength();
443 Node obj = nodelist.item(i);
456 * <p>Copy NodeList members into this nodelist, adding in
462 * implements both NodeIterator and NodeList. If this method isn't
481 * Copy NodeList members into this nodelist, adding in
508 * Copy NodeList members into this nodelist, adding in
511 * @param nodelist List of nodes to be added
516 public void addNodesInDocOrder(NodeList nodelist, XPathContext support)
522 int nChildren = nodelist.getLength();
526 Node node = nodelist.item(i);
536 * Copy NodeList members into this nodelist, adding in
564 * @param nodelist The nodelist to add.
572 NodeList nodelist, XPathContext support)
580 Node node = nodelist.item(testIndex);
601 boolean foundPrev = addNodesInDocOrder(0, i, testIndex, nodelist,
606 addNodesInDocOrder(i, size() - 1, testIndex, nodelist, support);