public final class ProducerBuilder extends AbstractITextConfigurationEvent
| Modifier and Type | Method and Description |
|---|---|
protected void |
doAction()
Configuration events for util internal purposes are not expected to be sent.
|
static String |
modifyProducer(List<? extends AbstractProductProcessITextEvent> events,
String oldProducer)
Modifies an old producer line according to events registered for the document.
|
addEvent, addProcessor, getActiveProcessor, getEvents, getProcessors, registerInternalNamespace, removeProcessorpublic static String modifyProducer(List<? extends AbstractProductProcessITextEvent> events, String oldProducer)
ConfirmedEventWrapper or not.
Format of the new producer line will be defined by the first event in the list.
Placeholder will be replaced and merged all togetherevents - list of events registered for the documentoldProducer - old producer line. If null or empty, will be replaced
with a new one. Otherwise new line will be attached with
modified using prefix. If old producer line already contains
modified using substring, it will be overriden with a new oneprotected void doAction()
doAction in class AbstractITextConfigurationEventIllegalStateException - on every method callCopyright © 1998–2023 Apryse Group NV. All rights reserved.