Class GenericContext
java.lang.Object
com.itextpdf.commons.actions.contexts.GenericContext
- All Implemented Interfaces:
-
IContext
Generic context that allows
AbstractContextBasedITextEvent
based on the whitelist of supported events.
-
Constructor Summary
ConstructorDescriptionGenericContext
(Collection<String> supportedProducts) Creates a Generic Context instance with support of provided namespaces and products. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if the source product of the event is supported by the context.
-
Constructor Details
-
GenericContext
Creates a Generic Context instance with support of provided namespaces and products.- Parameters:
-
supportedProducts
- is a collection of supported products
-
-
Method Details