public final class DefaultScriptletFactory extends Object implements ScriptletFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
EXCEPTION_MESSAGE_KEY_CLASS_LOADING_ERROR |
static String |
EXCEPTION_MESSAGE_KEY_INSTANCE_LOADING_ERROR |
| Modifier and Type | Method and Description |
|---|---|
static DefaultScriptletFactory |
getInstance() |
List<JRAbstractScriptlet> |
getScriplets(ScriptletFactoryContext context)
Returns a list of scriptlet instances to be used during report filling.
|
protected JRAbstractScriptlet |
getScriptlet(String scriptletClassName) |
public static final String EXCEPTION_MESSAGE_KEY_CLASS_LOADING_ERROR
public static final String EXCEPTION_MESSAGE_KEY_INSTANCE_LOADING_ERROR
public static DefaultScriptletFactory getInstance()
public List<JRAbstractScriptlet> getScriplets(ScriptletFactoryContext context) throws JRException
ScriptletFactorynull if no scriplet is to be used.getScriplets in interface ScriptletFactoryJRExceptionprotected JRAbstractScriptlet getScriptlet(String scriptletClassName) throws JRException
JRExceptionCopyright © 2017. All rights reserved.