| java.lang.Object org.jdom.DescendantIterator
DescendantIterator | class DescendantIterator implements Iterator(Code) | | Traverse all a parent's descendants (all children at any level below
the parent).
author: Bradley S. Huffman author: Jason Hunter version: $Revision: 1.1 $, $Date: 2005/04/27 09:32:37 $ |
DescendantIterator | DescendantIterator(Parent parent)(Code) | | Iterator for the descendants of the supplied object.
Parameters: parent - document or element whose descendants will be iterated |
hasNext | public boolean hasNext()(Code) | | Returns true> if the iteration has more
Content descendants.
true is the iterator has more descendants |
remove | public void remove()(Code) | | Detaches the last
org.jdom.Content returned by the last call to
next from it's parent. Note: this does not affect
iteration and all children, siblings, and any node following the
removed node (in document order) will be visited.
|
|
|