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.StringproductName
-
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.StringgetProducer()Gets the producer line for the product.java.lang.StringgetProductName()Gets the name of the product to which this processor corresponds.abstract java.lang.StringgetUsageType()Gets the usage type of the product to which this processor corresponds.abstract voidonEvent(AbstractProductProcessITextEvent event)Handles theAbstractProductProcessITextEvent.
-
-
-
Method Detail
-
onEvent
public abstract void onEvent(AbstractProductProcessITextEvent event)
Description copied from interface:ITextProductEventProcessorHandles theAbstractProductProcessITextEvent.- Specified by:
onEventin interfaceITextProductEventProcessor- Parameters:
event- to handle
-
getUsageType
public abstract java.lang.String 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
public java.lang.String getProducer()
Description copied from interface:ITextProductEventProcessorGets the producer line for the product.- Specified by:
getProducerin interfaceITextProductEventProcessor- Returns:
- the producer line
-
getProductName
public java.lang.String getProductName()
Description copied from interface:ITextProductEventProcessorGets the name of the product to which this processor corresponds.- Specified by:
getProductNamein interfaceITextProductEventProcessor- Returns:
- the product name
-
-