Class MarkingEnvelopeIterator
java.lang.Object
ch.tocco.nice2.outputcenter.api.sorting.EnvelopeIterator
ch.tocco.nice2.outputcenter.impl.sorting.MarkingEnvelopeIterator
- All Implemented Interfaces:
Iterator<OutputCenterInputSupplier>
Iterates over all documents in a set of envelopes while marking the first page of
the first document in an envelope.
-
Constructor Summary
ConstructorDescriptionMarkingEnvelopeIterator
(SortedJobs jobs, Function<MarkingEnvelopeIterator, String> msgFun) MarkingEnvelopeIterator
(SortedJobs jobs, org.joda.time.DateTimeZone dateTimeZone) -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the total number of envelopes.float
float
next()
void
setXoffset
(float xoffset) void
setYoffset
(float yoffset) Methods inherited from class ch.tocco.nice2.outputcenter.api.sorting.EnvelopeIterator
getCurrentEnvelope, getEnvelopeIndex, getIndexInEnvelope, getItemCount, hasNext, isFirstEnvelopeItem, isLastEnvelopeItem, remove
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
MarkingEnvelopeIterator
-
MarkingEnvelopeIterator
-
-
Method Details
-
setXoffset
public void setXoffset(float xoffset) -
setYoffset
public void setYoffset(float yoffset) -
getXoffset
public float getXoffset() -
getYoffset
public float getYoffset() -
getEnvelopeCount
public int getEnvelopeCount()Returns the total number of envelopes. -
next
- Specified by:
next
in interfaceIterator<OutputCenterInputSupplier>
- Overrides:
next
in classEnvelopeIterator
-