public abstract class AbstractITextConfigurationEvent extends AbstractITextEvent
Constructor and Description |
---|
AbstractITextConfigurationEvent() |
Modifier and Type | Method and Description |
---|---|
protected void |
addEvent(SequenceId id, AbstractProductProcessITextEvent event)
Registers a new event for provided identifier.
|
protected ITextProductEventProcessor |
addProcessor(ITextProductEventProcessor processor)
Adds a new ITextProductEventProcessor for a product.
|
protected abstract void |
doAction()
Method defines the logic of action processing.
|
protected ITextProductEventProcessor |
getActiveProcessor(String productName)
Gets a processor registered for a product.
|
protected List<AbstractProductProcessITextEvent> |
getEvents(SequenceId id)
Gets events registered for provided identifier.
|
protected Map<String,ITextProductEventProcessor> |
getProcessors()
Gets an unmodifiable map of registered processors.
|
protected void |
registerInternalNamespace(String namespace)
Registers internal namespace.
|
protected ITextProductEventProcessor |
removeProcessor(String productName)
Removes a processor registered for a product.
|
protected ITextProductEventProcessor addProcessor(ITextProductEventProcessor processor)
ITextProductEventProcessor
for a product.
processor
- is a new processor
protected ITextProductEventProcessor removeProcessor(String productName)
productName
- is a product for which processor is removed
protected ITextProductEventProcessor getActiveProcessor(String productName)
If processor isn't registered and product supports AGPL mode DefaultITextProductEventProcessor
will be obtained otherwise null will be returned.
productName
- is a product for which processor is obtained
protected Map<String,ITextProductEventProcessor> getProcessors()
protected List<AbstractProductProcessITextEvent> getEvents(SequenceId id)
id
- is the identifier
protected void addEvent(SequenceId id, AbstractProductProcessITextEvent event)
id
- is the identifier
event
- is the event to register
protected void registerInternalNamespace(String namespace)
namespace
- is the namespace to register
protected abstract void doAction()
Copyright © 1998–2022 iText Group NV. All rights reserved.