| Package | Description | 
|---|---|
| com.itextpdf.kernel.counter | |
| com.itextpdf.kernel.counter.context | 
| Modifier and Type | Method and Description | 
|---|---|
| IContext | ContextManager. getContext(Class> clazz)
             Gets the context associated with the passed class object. 
            | 
| IContext | ContextManager. getContext(String className)
             Gets the context associated with the passed class object. 
            | 
| Constructor and Description | 
|---|
| DataHandlerCounter(EventDataHandler<T,V> dataHandler, IContext fallback) | 
| EventCounter(IContext fallback)
             Creates instance of this class with custom fallback  IContext. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | GenericContext
             Generic context that allows  IGenericEventbased on the whitelist of supported IDs | 
| class  | UnknownContext
             The fallback  IContext | 
| Modifier and Type | Field and Description | 
|---|---|
| static IContext | UnknownContext. PERMISSIVE
             The  IContextthat allows all events | 
| static IContext | UnknownContext. RESTRICTIVE
             The  IContextthat forbids all events | 
Copyright © 1998–2019 iText Group NV. All rights reserved.