1 16 19 package com.sun.org.apache.xml.internal.dtm; 20 21 47 public interface DTMIterator 48 { 49 50 54 57 public static final short FILTER_ACCEPT = 1; 58 59 64 public static final short FILTER_REJECT = 2; 65 66 69 public static final short FILTER_SKIP = 3; 70 71 80 public DTM getDTM(int nodeHandle); 81 82 89 public DTMManager getDTMManager(); 90 91 99 public int getRoot(); 100 101 122 public void setRoot(int nodeHandle, Object environment); 123 124 129 public void reset(); 130 131 140 public int getWhatToShow(); 141 142 162 public boolean getExpandEntityReferences(); 163 164 173 public int nextNode(); 174 175 181 public int previousNode(); 182 183 190 public void detach(); 191 192 198 public void allowDetachToRelease(boolean allowRelease); 199 200 207 public int getCurrentNode(); 208 209 216 public boolean isFresh(); 217 218 220 230 public void setShouldCacheNodes(boolean b); 231 232 238 public boolean isMutable(); 239 240 247 public int getCurrentPos(); 248 249 259 public void runTo(int index); 260 261 266 public void setCurrentPos(int i); 267 268 278 public int item(int index); 279 280 293 public void setItem(int node, int index); 294 295 302 public int getLength(); 303 304 306 313 public DTMIterator cloneWithReset() throws CloneNotSupportedException ; 314 315 323 public Object clone() throws CloneNotSupportedException ; 324 325 332 public boolean isDocOrdered(); 333 334 340 public int getAxis(); 341 342 } 343 | Popular Tags |