APIdia Launch Partner
Top Fields Constructors Methods
com.sun.org.apache.xalan.internal.xsltc.dom

public Class ArrayNodeListIterator

extends Object
implements DTMAxisIterator
Class Inheritance
All Implemented Interfaces
com.sun.org.apache.xml.internal.dtm.DTMAxisIterator, java.lang.Cloneable
Imports
com.sun.org.apache.xml.internal.dtm.DTMAxisIterator

Field Summary

Modifier and TypeField and Description
private int
private int[]
private int
private static final int[]

Constructor Summary

AccessConstructor and Description
public
ArrayNodeListIterator(int[] nodes)

Method Summary

Modifier and TypeMethod and Description
public DTMAxisIterator
public int
public int
getNodeByPosition(int position)

Implements com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.getNodeByPosition.

Return the node at the given position.

public int
public int
getStartNode()

Implements com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.getStartNode.

Get start to END should 'close' the iterator, i.e. subsequent call to next() should return END.

public void
gotoMark()

Implements com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.gotoMark.

Restores the current node remembered by setMark().

public boolean
public int
next()

Implements com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.next.

Get the next node in the iteration.

public DTMAxisIterator
reset()

Implements com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.reset.

Resets the iterator to the last start node.

public void
setMark()

Implements com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.setMark.

Remembers the current node for the next call to gotoMark().

public void
setRestartable(boolean isRestartable)

Implements com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.setRestartable.

Set if restartable.

public DTMAxisIterator
setStartNode(int node)

Implements com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.setStartNode.

Set start to END should 'close' the iterator, i.e. subsequent call to next() should return END.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_markback to summary
private int _mark
_nodesback to summary
private int[] _nodes
_posback to summary
private int _pos
EMPTYback to summary
private static final int[] EMPTY

Constructor Detail

ArrayNodeListIteratorback to summary
public ArrayNodeListIterator(int[] nodes)

Method Detail

cloneIteratorback to summary
public DTMAxisIterator cloneIterator()

Implements com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.cloneIterator.

getLastback to summary
public int getLast()

Implements com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.getLast.

getNodeByPositionback to summary
public int getNodeByPosition(int position)

Implements com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.getNodeByPosition.

Doc from com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.getNodeByPosition.

Return the node at the given position.

getPositionback to summary
public int getPosition()

Implements com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.getPosition.

getStartNodeback to summary
public int getStartNode()

Implements com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.getStartNode.

Doc from com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.getStartNode.

Get start to END should 'close' the iterator, i.e. subsequent call to next() should return END.

gotoMarkback to summary
public void gotoMark()

Implements com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.gotoMark.

Doc from com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.gotoMark.

Restores the current node remembered by setMark().

isReverseback to summary
public boolean isReverse()

Implements com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.isReverse.

nextback to summary
public int next()

Implements com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.next.

Doc from com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.next.

Get the next node in the iteration.

resetback to summary
public DTMAxisIterator reset()

Implements com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.reset.

Doc from com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.reset.

Resets the iterator to the last start node.

setMarkback to summary
public void setMark()

Implements com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.setMark.

Doc from com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.setMark.

Remembers the current node for the next call to gotoMark().

setRestartableback to summary
public void setRestartable(boolean isRestartable)

Implements com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.setRestartable.

Doc from com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.setRestartable.

Set if restartable.

setStartNodeback to summary
public DTMAxisIterator setStartNode(int node)

Implements com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.setStartNode.

Doc from com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.setStartNode.

Set start to END should 'close' the iterator, i.e. subsequent call to next() should return END.