Class AbstractITextProductEventProcessor
java.lang.Object
com.itextpdf.commons.actions.processors.AbstractITextProductEventProcessor
- All Implemented Interfaces:
-
ITextProductEventProcessor
- Direct Known Subclasses:
-
DefaultITextProductEventProcessor
,UnderAgplITextProductEventProcessor
public abstract class AbstractITextProductEventProcessor extends Object implements ITextProductEventProcessor
Abstract class with some standard functionality for product event processing.
-
Constructor Summary
ConstructorDescriptionAbstractITextProductEventProcessor
(String productName) Creates a new instance of an abstract processor for the provided product. -
Method Summary
Modifier and TypeMethodDescriptionGets the producer line for the product.Gets the name of the product to which this processor corresponds.abstract String
Gets the usage type of the product to which this processor corresponds.abstract void
Handles theAbstractProductProcessITextEvent
.
-
Constructor Details
-
AbstractITextProductEventProcessor
Creates a new instance of an abstract 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
- 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
- Returns:
- the usage type
-
getProducer
Description copied from interface:ITextProductEventProcessor
Gets the producer line for the product.- Specified by:
-
getProducer
in interfaceITextProductEventProcessor
- Returns:
- the producer line
-
getProductName
Description copied from interface:ITextProductEventProcessor
Gets the name of the product to which this processor corresponds.- Specified by:
-
getProductName
in interfaceITextProductEventProcessor
- Returns:
- the product name
-