1 16 19 package org.apache.xpath.axes; 20 21 import org.w3c.dom.Node ; 22 import org.w3c.dom.traversal.NodeIterator; 23 24 30 public interface ContextNodeList 31 { 32 33 39 public Node getCurrentNode(); 40 41 51 public int getCurrentPos(); 52 53 56 public void reset(); 57 58 64 public void setShouldCacheNodes(boolean b); 65 66 75 public void runTo(int index); 76 77 81 public void setCurrentPos(int i); 82 83 88 public int size(); 89 90 97 public boolean isFresh(); 98 99 106 public NodeIterator cloneWithReset() throws CloneNotSupportedException ; 107 108 117 public Object clone() throws CloneNotSupportedException ; 118 119 125 public int getLast(); 126 127 133 public void setLast(int last); 134 } 135 | Popular Tags |