Package com.itextpdf.commons.actions
Class AbstractContextBasedITextEvent
java.lang.Object
com.itextpdf.commons.actions.AbstractITextEvent
com.itextpdf.commons.actions.AbstractProductITextEvent
com.itextpdf.commons.actions.AbstractContextBasedITextEvent
- All Implemented Interfaces:
-
IEvent
- Direct Known Subclasses:
-
AbstractProductProcessITextEvent
Represents a context-based event. See also
AbstractContextBasedEventHandler
. Only for internal usage.
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractContextBasedITextEvent
(ProductData productData, IMetaInfo metaInfo) Creates an event containing auxiliary meta data. -
Method Summary
Modifier and TypeMethodDescriptionObtains the current event context class.boolean
setMetaInfo
(IMetaInfo metaInfo) Sets meta info.Methods inherited from class com.itextpdf.commons.actions.AbstractProductITextEvent
getProductData, getProductName
-
Constructor Details
-
AbstractContextBasedITextEvent
Creates an event containing auxiliary meta data.- Parameters:
-
productData
- is a description of the product which has generated an event -
metaInfo
- is an auxiliary meta info
-
-
Method Details
-
getClassFromContext
Obtains the current event context class.- Returns:
- context class
-
setMetaInfo
Sets meta info.- Parameters:
-
metaInfo
- meta info - Returns:
- true if meta info has been set, false otherwise
-