org.apache.fop.fo
public class FObj.FObjIterator extends java.lang.Object implements FONode.FONodeIterator
Modifier | Constructor and Description |
---|---|
protected |
FObj.FObjIterator(FObj parent) |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.Object o) |
FONode |
firstNode()
Returns the first node in the list, and decreases the index,
so that a subsequent call to hasPrevious() will return false
|
boolean |
hasNext() |
boolean |
hasPrevious() |
FONode |
lastNode()
Returns the last node in the list, and advances the
current position, so that a subsequent call to hasNext()
will return false
|
java.lang.Object |
next() |
int |
nextIndex() |
FONode |
nextNode()
Convenience method with return type of FONode
(should be semantically equivalent to
(FONode) next(); ) |
FObj |
parentNode()
Returns the parent node for this iterator's list
of child nodes
|
java.lang.Object |
previous() |
int |
previousIndex() |
FONode |
previousNode()
Convenience method with return type of FONode
(should be semantically equivalent to
(FONode) previous(); ) |
void |
remove() |
void |
set(java.lang.Object o) |
protected FObj.FObjIterator(FObj parent)
public FObj parentNode()
parentNode
in interface FONode.FONodeIterator
public java.lang.Object next()
next
in interface java.util.Iterator
next
in interface java.util.ListIterator
public java.lang.Object previous()
previous
in interface java.util.ListIterator
public void set(java.lang.Object o)
set
in interface java.util.ListIterator
public void add(java.lang.Object o)
add
in interface java.util.ListIterator
public boolean hasNext()
hasNext
in interface java.util.Iterator
hasNext
in interface java.util.ListIterator
public boolean hasPrevious()
hasPrevious
in interface java.util.ListIterator
public int nextIndex()
nextIndex
in interface java.util.ListIterator
public int previousIndex()
previousIndex
in interface java.util.ListIterator
public void remove()
remove
in interface java.util.Iterator
remove
in interface java.util.ListIterator
public FONode lastNode()
lastNode
in interface FONode.FONodeIterator
public FONode firstNode()
firstNode
in interface FONode.FONodeIterator
public FONode nextNode()
(FONode) next();
)nextNode
in interface FONode.FONodeIterator
public FONode previousNode()
(FONode) previous();
)previousNode
in interface FONode.FONodeIterator
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.