org.apache.fop.layoutmgr

Class KnuthPossPosIter

Implemented Interfaces:
Iterator

public class KnuthPossPosIter
extends PositionIterator

Constructor Summary

KnuthPossPosIter(List elementList)
Auxiliary constructor
KnuthPossPosIter(List elementList, int startPos, int endPos)
Main constructor

Method Summary

protected boolean
checkNext()
ListElement
getKE()
protected LayoutManager
getLM(Object nextObj)
protected Position
getPos(Object nextObj)
Object
next()

Methods inherited from class org.apache.fop.layoutmgr.PositionIterator

checkNext, endIter, getLM, getNextChildLM, getPos, hasNext, next, peekNext, remove

Constructor Details

KnuthPossPosIter

public KnuthPossPosIter(List elementList)
Auxiliary constructor
Parameters:
elementList - List of Knuth elements

KnuthPossPosIter

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

Method Details

checkNext

protected boolean checkNext()
Overrides:
checkNext in interface PositionIterator

getKE

public ListElement getKE()

getLM

protected LayoutManager getLM(Object nextObj)
Overrides:
getLM in interface PositionIterator

getPos

protected Position getPos(Object nextObj)
Overrides:
getPos in interface PositionIterator

next

public Object next()
Overrides:
next in interface PositionIterator

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