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 java.lang.Object implements ITextProductEventProcessor
Abstract class with some standard functionality for product event processing.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
productName
-
Constructor Summary
Constructors Constructor Description AbstractITextProductEventProcessor(java.lang.String productName)
Creates a new instance of an abstract processor for the provided product.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.String
getProducer()
Gets the producer line for the product.java.lang.String
getProductName()
Gets the name of the product to which this processor corresponds.abstract java.lang.String
getUsageType()
Gets the usage type of the product to which this processor corresponds.abstract void
onEvent(AbstractProductProcessITextEvent event)
Handles theAbstractProductProcessITextEvent
.
-
-
-
Method Detail
-
onEvent
public abstract void onEvent(AbstractProductProcessITextEvent event)
Description copied from interface:ITextProductEventProcessor
Handles theAbstractProductProcessITextEvent
.- Specified by:
onEvent
in interfaceITextProductEventProcessor
- Parameters:
event
- to handle
-
getUsageType
public abstract java.lang.String 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
public java.lang.String getProducer()
Description copied from interface:ITextProductEventProcessor
Gets the producer line for the product.- Specified by:
getProducer
in interfaceITextProductEventProcessor
- Returns:
- the producer line
-
getProductName
public java.lang.String 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
-
-