| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xalan.xsltc.dom.NodeIteratorBase
public abstract class NodeIteratorBase
| Field Summary | |
|---|---|
protected  boolean | 
_includeSelf
Flag indicating if "self" should be returned.  | 
protected  boolean | 
_isRestartable
Flag indicating if iterator can be restarted.  | 
protected  int | 
_last
Cached computed value of last().  | 
protected  int | 
_markedNode
Store node in call to setMark().  | 
protected  int | 
_position
Value of position() in this iterator.  | 
protected  int | 
_startNode
Store node in call to setStartNode().  | 
| Fields inherited from interface org.apache.xalan.xsltc.NodeIterator | 
|---|
END | 
| Constructor Summary | |
|---|---|
NodeIteratorBase()
 | 
|
| Method Summary | |
|---|---|
 NodeIterator | 
cloneIterator()
Clones and resets this iterator.  | 
 int | 
getLast()
Default implementation of getLast().  | 
 int | 
getPosition()
Returns the position() in this iterator.  | 
 NodeIterator | 
includeSelf()
Setter for _includeSelf flag.  | 
 boolean | 
isReverse()
Indicates if position in this iterator is computed in reverse document order.  | 
 NodeIterator | 
reset()
Reset this iterator using state from last call to setStartNode().  | 
protected  NodeIterator | 
resetPosition()
Reset the position in this iterator.  | 
protected  int | 
returnNode(int node)
Utility method that increments position and returns its argument.  | 
 void | 
setRestartable(boolean isRestartable)
Setter for _isRestartable flag.  | 
abstract  NodeIterator | 
setStartNode(int node)
Initialize iterator using a node.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface org.apache.xalan.xsltc.NodeIterator | 
|---|
gotoMark, next, setMark | 
| Field Detail | 
|---|
protected int _last
protected int _position
protected int _markedNode
protected int _startNode
protected boolean _includeSelf
protected boolean _isRestartable
| Constructor Detail | 
|---|
public NodeIteratorBase()
| Method Detail | 
|---|
public void setRestartable(boolean isRestartable)
setRestartable in interface NodeIteratorpublic abstract NodeIterator setStartNode(int node)
setStartNode in interface NodeIteratorpublic NodeIterator reset()
reset in interface NodeIteratorpublic NodeIterator includeSelf()
public int getLast()
getLast in interface NodeIteratorpublic int getPosition()
getPosition in interface NodeIteratorpublic boolean isReverse()
isReverse in interface NodeIteratorpublic NodeIterator cloneIterator()
cloneIterator in interface NodeIteratorprotected final int returnNode(int node)
protected final NodeIterator resetPosition()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||