Class FlushPdfDocumentEvent
- java.lang.Object
-
- com.itextpdf.commons.actions.AbstractITextEvent
-
- com.itextpdf.commons.actions.AbstractITextConfigurationEvent
-
- com.itextpdf.kernel.actions.events.FlushPdfDocumentEvent
-
- All Implemented Interfaces:
IEvent
public final class FlushPdfDocumentEvent extends AbstractITextConfigurationEvent
Class represents events notifying thatPdfDocument
was flushed.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.ref.WeakReference<PdfDocument>
document
private static org.slf4j.Logger
LOGGER
-
Constructor Summary
Constructors Constructor Description FlushPdfDocumentEvent(PdfDocument document)
Creates a new instance of the flushing event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doAction()
Prepares document for flushing.private java.util.List<ConfirmedEventWrapper>
getConfirmedEvents(SequenceId sequenceId)
-
Methods inherited from class com.itextpdf.commons.actions.AbstractITextConfigurationEvent
addEvent, addProcessor, getActiveProcessor, getEvents, getProcessors, registerInternalNamespace, removeProcessor
-
-
-
-
Field Detail
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
document
private final java.lang.ref.WeakReference<PdfDocument> document
-
-
Constructor Detail
-
FlushPdfDocumentEvent
public FlushPdfDocumentEvent(PdfDocument document)
Creates a new instance of the flushing event.- Parameters:
document
- is a document to be flushed
-
-
Method Detail
-
doAction
protected void doAction()
Prepares document for flushing.- Specified by:
doAction
in classAbstractITextConfigurationEvent
-
getConfirmedEvents
private java.util.List<ConfirmedEventWrapper> getConfirmedEvents(SequenceId sequenceId)
-
-