org.jaxen.util
public class FollowingSiblingAxisIterator extends Object implements Iterator
following-sibling axis.
The "following-sibling axis contains all the
folowing siblings of the context node; if the context node is an
attribute node or namespace node, the following-sibling
axis is empty."
Version: 1.2b12
| Field Summary | |
|---|---|
| Object | contextNode |
| Navigator | navigator |
| Iterator | siblingIter |
| Constructor Summary | |
|---|---|
| FollowingSiblingAxisIterator(Object contextNode, Navigator navigator)
Create a new following-sibling axis iterator.
| |
| Method Summary | |
|---|---|
| boolean | hasNext()
Returns true if there are any following siblings remain; false otherwise.
|
| void | init() |
| Object | next()
Returns the next following sibling.
|
| void | remove()
This operation is not supported.
|
following-sibling axis iterator.
Parameters: contextNode the node to start from navigator the object model specific navigator
Returns: true if any following siblings remain; false otherwise
See Also: java.util.Iterator#hasNext()
Returns: the next following sibling
Throws: NoSuchElementException if no following siblings remain
See Also: java.util.Iterator#next()
Throws: UnsupportedOperationException always