Class DefaultITextProductEventProcessor
java.lang.Object
com.itextpdf.commons.actions.processors.AbstractITextProductEventProcessor
com.itextpdf.commons.actions.processors.DefaultITextProductEventProcessor
- All Implemented Interfaces:
-
ITextProductEventProcessor
Defines a default strategy of product event processing.
-
Constructor Summary
ConstructorDescriptionDefaultITextProductEventProcessor
(String productName) Creates an instance of product event processor. -
Method Summary
Modifier and TypeMethodDescriptionGets the usage type of the product to which this processor corresponds.void
Handles theAbstractProductProcessITextEvent
.Methods inherited from class com.itextpdf.commons.actions.processors.AbstractITextProductEventProcessor
getProducer, getProductName
-
Constructor Details
-
DefaultITextProductEventProcessor
Creates an instance of product event processor.- Parameters:
-
productName
- is a product name
-
-
Method Details
-
onEvent
Description copied from interface:ITextProductEventProcessor
Handles theAbstractProductProcessITextEvent
.- Specified by:
-
onEvent
in interfaceITextProductEventProcessor
- Specified by:
-
onEvent
in classAbstractITextProductEventProcessor
- Parameters:
-
event
- to handle
-
getUsageType
Description copied from interface:ITextProductEventProcessor
Gets the usage type of the product to which this processor corresponds.- Specified by:
-
getUsageType
in interfaceITextProductEventProcessor
- Specified by:
-
getUsageType
in classAbstractITextProductEventProcessor
- Returns:
- the usage type
-