Class UnderAgplITextProductEventProcessor
java.lang.Object
com.itextpdf.commons.actions.processors.AbstractITextProductEventProcessor
com.itextpdf.commons.actions.processors.UnderAgplITextProductEventProcessor
- All Implemented Interfaces:
-
ITextProductEventProcessor
The class defines an under APGL strategy of product event processing.
-
Constructor Summary
ConstructorDescriptionUnderAgplITextProductEventProcessor
(String productName) Creates a new instance of under AGPL processor for the provided product. -
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
-
UnderAgplITextProductEventProcessor
Creates a new instance of under AGPL processor for the provided product.- Parameters:
-
productName
- the product which will be handled by this processor
-
-
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
-