public final class DefaultScriptletFactory extends java.lang.Object implements ScriptletFactory
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXCEPTION_MESSAGE_KEY_CLASS_LOADING_ERROR |
static java.lang.String |
EXCEPTION_MESSAGE_KEY_INSTANCE_LOADING_ERROR |
Modifier and Type | Method and Description |
---|---|
static DefaultScriptletFactory |
getInstance() |
java.util.List<JRAbstractScriptlet> |
getScriplets(ScriptletFactoryContext context)
Returns a list of scriptlet instances to be used during report filling.
|
protected JRAbstractScriptlet |
getScriptlet(java.lang.String scriptletClassName) |
public static final java.lang.String EXCEPTION_MESSAGE_KEY_CLASS_LOADING_ERROR
public static final java.lang.String EXCEPTION_MESSAGE_KEY_INSTANCE_LOADING_ERROR
public static DefaultScriptletFactory getInstance()
public java.util.List<JRAbstractScriptlet> getScriplets(ScriptletFactoryContext context) throws JRException
ScriptletFactory
null
if no scriplet is to be used.getScriplets
in interface ScriptletFactory
JRException
protected JRAbstractScriptlet getScriptlet(java.lang.String scriptletClassName) throws JRException
JRException
© 2001 - 2018 TIBCO Software Inc. www.jaspersoft.com