| Modifier and Type | Field and Description |
|---|---|
| private final DTMFilter | _filter
Reference to a filter object that to be applied to each node. |
| private final boolean | _isReverse
A flag indicating if position is reversed. |
| private DTMAxisIterator | _source
Reference to source iterator. |
| Access | Constructor and Description |
|---|---|
| public |
| _filter | back to summary |
|---|---|
| private final DTMFilter _filter Reference to a filter object that to be applied to each node. | |
| _isReverse | back to summary |
|---|---|
| private final boolean _isReverse A flag indicating if position is reversed. | |
| _source | back to summary |
|---|---|
| private DTMAxisIterator _source Reference to source iterator. | |
| FilterIterator | back to summary |
|---|---|
| public FilterIterator(DTMAxisIterator source, DTMFilter filter) | |
| cloneIterator | back to summary |
|---|---|
| public DTMAxisIterator cloneIterator() Overrides com. Implements com. Doc from com. Returns a deep copy of this iterator. Cloned iterators may not be restartable. The iterator being cloned may or may not become non-restartable as a side effect of this operation. | |
| gotoMark | back to summary |
|---|---|
| public void gotoMark() Implements com. Doc from com. Restores the current node remembered by setMark(). | |
| isReverse | back to summary |
|---|---|
| public boolean isReverse() Overrides com. Implements com. | |
| next | back to summary |
|---|---|
| public int next() Implements com. Doc from com. Get the next node in the iteration. | |
| reset | back to summary |
|---|---|
| public DTMAxisIterator reset() Overrides com. Implements com. Doc from com. Resets the iterator to the last start node. | |
| setMark | back to summary |
|---|---|
| public void setMark() Implements com. Doc from com. Remembers the current node for the next call to gotoMark(). | |
| setRestartable | back to summary |
|---|---|
| public void setRestartable(boolean isRestartable) Overrides com. Implements com. Doc from com. Set if restartable. | |
| setStartNode | back to summary |
|---|---|
| public DTMAxisIterator setStartNode(int node) Implements com. Doc from com. Set start to END should 'close' the iterator, i.e. subsequent call to next() should return END. | |