org.apache.xml.dtm.ref.sax2dtm

Class SAX2DTM2.TypedPrecedingSiblingIterator

public final class SAX2DTM2.TypedPrecedingSiblingIterator extends SAX2DTM2.PrecedingSiblingIterator

Iterator that returns preceding siblings of a given type for a given node
Constructor Summary
TypedPrecedingSiblingIterator(int type)
Constructor TypedPrecedingSiblingIterator
Method Summary
intgetLast()
Return the index of the last node in this iterator.
intnext()
Get the next node in the iteration.

Constructor Detail

TypedPrecedingSiblingIterator

public TypedPrecedingSiblingIterator(int type)
Constructor TypedPrecedingSiblingIterator

Parameters: type The extended type ID being requested.

Method Detail

getLast

public int getLast()
Return the index of the last node in this iterator.

next

public int next()
Get the next node in the iteration.

Returns: The next node handle in the iteration, or END.

Copyright © 2005 Apache XML Project. All Rights Reserved.