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.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractITextProductEventProcessor(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 StringGets the usage type of the product to which this processor corresponds.abstract voidHandles theAbstractProductProcessITextEvent.
-
Field Details
-
productName
-
-
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:ITextProductEventProcessorHandles theAbstractProductProcessITextEvent.- Specified by:
onEventin interfaceITextProductEventProcessor- Parameters:
event- to handle
-
getUsageType
Description copied from interface:ITextProductEventProcessorGets the usage type of the product to which this processor corresponds.- Specified by:
getUsageTypein interfaceITextProductEventProcessor- Returns:
- the usage type
-
getProducer
Description copied from interface:ITextProductEventProcessorGets the producer line for the product.- Specified by:
getProducerin interfaceITextProductEventProcessor- Returns:
- the producer line
-
getProductName
Description copied from interface:ITextProductEventProcessorGets the name of the product to which this processor corresponds.- Specified by:
getProductNamein interfaceITextProductEventProcessor- Returns:
- the product name
-