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
ConstructorsConstructorDescriptionMarkingEnvelopeIterator(SortedJobs jobs, Function<MarkingEnvelopeIterator, String> msgFun) MarkingEnvelopeIterator(SortedJobs jobs, org.joda.time.DateTimeZone dateTimeZone) -
Method Summary
Modifier and TypeMethodDescriptionintReturns the total number of envelopes.floatfloatnext()voidsetXoffset(float xoffset) voidsetYoffset(float yoffset) Methods inherited from class ch.tocco.nice2.outputcenter.api.sorting.EnvelopeIterator
getCurrentEnvelope, getEnvelopeIndex, getIndexInEnvelope, getItemCount, hasNext, isFirstEnvelopeItem, isLastEnvelopeItem, removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
nextin interfaceIterator<OutputCenterInputSupplier>- Overrides:
nextin classEnvelopeIterator
-