| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private Iterator | |
| private Iterator | |
| private List |
| Access | Constructor and Description |
|---|---|
| pack-priv | DescendantIterator(Parent
document or element whose descendants will be iterated parent)Iterator for the descendants of the supplied object. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true is the iterator has more descendantsImplements java. Content descendants.
|
| public Object | Returns: the next descendantImplements java. Content descendant.
|
| private Iterator | |
| private void | |
| public void | remove()
Overrides default java. org. returned by the last call to
next from it's parentNote this does not affect iteration and all children, siblings, and any node following the removed node (in document order) will be visited. |
| private boolean |
| CVS_ID | back to summary |
|---|---|
| private static final String CVS_ID | |
| iterator | back to summary |
|---|---|
| private Iterator<E> iterator | |
| nextIterator | back to summary |
|---|---|
| private Iterator<E> nextIterator | |
| stack | back to summary |
|---|---|
| private List<E> stack | |
| DescendantIterator | back to summary |
|---|---|
| pack-priv DescendantIterator(Parent parent) Iterator for the descendants of the supplied object.
| |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Returns true> if the iteration has more
| |
| next | back to summary |
|---|---|
| public Object next() Implements java. Returns the next
| |
| pop | back to summary |
|---|---|
| private Iterator | |
| push | back to summary |
|---|---|
| private void push(Iterator<E> itr) | |
| remove | back to summary |
|---|---|
| public void remove() Overrides default java. Detaches the last Note this does not affect iteration and all children, siblings, and any node following the removed node (in document order) will be visited. | |
| stackHasAnyNext | back to summary |
|---|---|
| private boolean stackHasAnyNext() | |