public class GenericContext extends Object implements IContext
AbstractContextBasedITextEvent
based on the whitelist of supported events.
Constructor and Description |
---|
GenericContext(Collection<String> supportedProducts)
Creates a Generic Context instance with support of provided namespaces and products.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isAllowed(AbstractContextBasedITextEvent event)
Checks if the source product of the event is supported by the context.
|
public GenericContext(Collection<String> supportedProducts)
supportedProducts
- is a collection of supported products
public boolean isAllowed(AbstractContextBasedITextEvent event)
Copyright © 1998–2022 iText Group NV. All rights reserved.