Package com.itextpdf.commons.actions
Class AbstractEventWrapper
- All Implemented Interfaces:
IEvent
- Direct Known Subclasses:
ConfirmedEventWrapper
,ConfirmEvent
Base class to wrap events.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractEventWrapper
(AbstractProductProcessITextEvent event, EventConfirmationType confirmationType) Creates a wrapper for the event.protected
AbstractEventWrapper
(SequenceId updatedSequenceId, AbstractProductProcessITextEvent event, EventConfirmationType confirmationType) Creates a wrapper of event associated withSequenceId
. -
Method Summary
Methods inherited from class com.itextpdf.commons.actions.AbstractProductProcessITextEvent
getConfirmationType, getSequenceId
Methods inherited from class com.itextpdf.commons.actions.AbstractContextBasedITextEvent
getMetaInfo, setMetaInfo
Methods inherited from class com.itextpdf.commons.actions.AbstractProductITextEvent
getProductData, getProductName
Methods inherited from class com.itextpdf.commons.actions.AbstractITextEvent
registerNamespace
-
Field Details
-
event
-
-
Constructor Details
-
AbstractEventWrapper
protected AbstractEventWrapper(AbstractProductProcessITextEvent event, EventConfirmationType confirmationType) Creates a wrapper for the event.- Parameters:
event
- is aAbstractProductProcessITextEvent
to wrapconfirmationType
- event confirmation type
-
AbstractEventWrapper
protected AbstractEventWrapper(SequenceId updatedSequenceId, AbstractProductProcessITextEvent event, EventConfirmationType confirmationType) Creates a wrapper of event associated withSequenceId
.- Parameters:
updatedSequenceId
- is aSequenceId
for the document. May be different with sequence id of original eventevent
- is aAbstractProductProcessITextEvent
to wrapconfirmationType
- event confirmation type
-
-
Method Details
-
getEvent
Obtains the wrapped event.- Returns:
- wrapped event
-
getClassFromContext
Description copied from class:AbstractContextBasedITextEvent
Obtains the current event context class.- Overrides:
getClassFromContext
in classAbstractContextBasedITextEvent
- Returns:
- context class
-
getEventType
Description copied from class:AbstractProductProcessITextEvent
Returns an event type.- Specified by:
getEventType
in classAbstractProductProcessITextEvent
- Returns:
- event type
-