APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.org.apache.xml.internal.dtm.ref

public final Class EmptyIterator

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, .DTM

DTM Empty Axis Iterator. The class is immutable

Field Summary

Modifier and TypeField and Description
private static final EmptyIterator

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

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

Return the node at the given position.

public final int
public final 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 final void
gotoMark()

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

Restores the current node remembered by setMark().

public final boolean
public final int
next()

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

Get the next node in the iteration.

public final DTMAxisIterator
reset()

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

Resets the iterator to the last start node.

public final void
setMark()

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

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

public final void
setRestartable(boolean isRestartable)

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

Set if restartable.

public final 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

INSTANCEback to summary
private static final EmptyIterator INSTANCE

Constructor Detail

EmptyIteratorback to summary
private EmptyIterator()

Method Detail

cloneIteratorback to summary
public final DTMAxisIterator cloneIterator()

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

getInstanceback to summary
public static DTMAxisIterator getInstance()
getLastback to summary
public final int getLast()

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

getNodeByPositionback to summary
public final 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 final int getPosition()

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

getStartNodeback to summary
public final 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 final 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 final boolean isReverse()

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

nextback to summary
public final 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 final 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 final 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 final 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 final 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.