org.apache.fop.fo
Class FObj.FObjIterator
java.lang.Object
org.apache.fop.fo.FObj.FObjIterator
- FObj
- FONode.FONodeIterator, ListIterator
public class FObj.FObjIterator
extends java.lang.Object
void | add(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
|
Object | next()
|
int | nextIndex()
|
FONode | nextNode() - Convenience method with return type of FONode
(should be semantically equivalent to
(FONode) next(); )
|
FObj | parentNode()
|
Object | previous()
|
int | previousIndex()
|
FONode | previousNode() - Convenience method with return type of FONode
(should be semantically equivalent to
(FONode) previous(); )
|
void | remove()
|
void | set(Object o)
|
FObjIterator
protected FObjIterator(FObj parent)
add
public void add(Object o)
java.util.ListIterator.add(Object)
firstNode
public FONode firstNode()
Returns the first node in the list, and decreases the index,
so that a subsequent call to hasPrevious() will return false
- firstNode in interface FONode.FONodeIterator
- the first node in the list
hasNext
public boolean hasNext()
java.util.ListIterator.hasNext()
hasPrevious
public boolean hasPrevious()
java.util.ListIterator.hasPrevious()
lastNode
public FONode lastNode()
Returns the last node in the list, and advances the
current position, so that a subsequent call to hasNext()
will return false
- lastNode in interface FONode.FONodeIterator
- the last node in the list
next
public Object next()
java.util.ListIterator.next()
nextIndex
public int nextIndex()
java.util.ListIterator.nextIndex()
nextNode
public FONode nextNode()
Convenience method with return type of FONode
(should be semantically equivalent to
(FONode) next();
)
- nextNode in interface FONode.FONodeIterator
- the next node (if any), as a type FONode
previous
public Object previous()
java.util.ListIterator.previous()
previousIndex
public int previousIndex()
java.util.ListIterator.previousIndex()
previousNode
public FONode previousNode()
Convenience method with return type of FONode
(should be semantically equivalent to
(FONode) previous();
)
- previousNode in interface FONode.FONodeIterator
- the previous node (if any), as a type FONode
remove
public void remove()
java.util.ListIterator.remove()
set
public void set(Object o)
java.util.ListIterator.set(Object)
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.