fop 0.92beta

org.apache.fop.layoutmgr
Class KnuthPossPosIter

java.lang.Object
  |
  +--org.apache.fop.layoutmgr.PositionIterator
        |
        +--org.apache.fop.layoutmgr.KnuthPossPosIter
All Implemented Interfaces:
java.util.Iterator

public class KnuthPossPosIter
extends PositionIterator


Constructor Summary
KnuthPossPosIter(java.util.List elementList)
          Auxiliary constructor
KnuthPossPosIter(java.util.List elementList, int startPos, int endPos)
          Main constructor
 
Method Summary
protected  boolean checkNext()
           
 ListElement getKE()
           
protected  LayoutManager getLM(java.lang.Object nextObj)
           
protected  Position getPos(java.lang.Object nextObj)
           
 java.lang.Object next()
           
 
Methods inherited from class org.apache.fop.layoutmgr.PositionIterator
endIter, getNextChildLM, hasNext, peekNext, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KnuthPossPosIter

public KnuthPossPosIter(java.util.List elementList,
                        int startPos,
                        int endPos)
Main constructor
Parameters:
elementList - List of Knuth elements
startPos - starting position
endPos - ending position

KnuthPossPosIter

public KnuthPossPosIter(java.util.List elementList)
Auxiliary constructor
Parameters:
elementList - List of Knuth elements
Method Detail

checkNext

protected boolean checkNext()
Overrides:
checkNext in class PositionIterator
See Also:
PositionIterator.checkNext()

next

public java.lang.Object next()
Overrides:
next in class PositionIterator
See Also:
Iterator.next()

getKE

public ListElement getKE()

getLM

protected LayoutManager getLM(java.lang.Object nextObj)
Overrides:
getLM in class PositionIterator

getPos

protected Position getPos(java.lang.Object nextObj)
Overrides:
getPos in class PositionIterator

fop 0.92beta

Copyright 1999-2006 The Apache Software Foundation. All Rights Reserved.