public class ContextManager extends Object
Modifier and Type | Method and Description |
---|---|
IContext |
getContext(Class> clazz)
Gets the context associated with the passed class object.
|
IContext |
getContext(String className)
Gets the context associated with the passed class object.
|
static ContextManager |
getInstance()
Gets the singelton instance of this class
|
public static ContextManager getInstance()
ContextManager
instance
public IContext getContext(Class> clazz)
clazz
- the class for which the context will be determined.
IContext
associated with the class, or null
if the class is unknown.
public IContext getContext(String className)
className
- the class name with the namespace for which the context will be determined.
IContext
associated with the class, or null
if the class is unknown.
Copyright © 1998–2023 iText Group NV. All rights reserved.