Package net.sf.jasperreports.governors
Class GovernorFactory
- java.lang.Object
-
- net.sf.jasperreports.governors.GovernorFactory
-
- All Implemented Interfaces:
ScriptletFactory
public final class GovernorFactory extends Object implements ScriptletFactory
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GovernorFactory
getInstance()
List<JRAbstractScriptlet>
getScriplets(ScriptletFactoryContext context)
Returns a list of scriptlet instances to be used during report filling.protected JRAbstractScriptlet
getScriptlet(String scriptletClassName)
-
-
-
Method Detail
-
getInstance
public static GovernorFactory getInstance()
-
getScriplets
public List<JRAbstractScriptlet> getScriplets(ScriptletFactoryContext context) throws JRException
Description copied from interface:ScriptletFactory
Returns a list of scriptlet instances to be used during report filling. This method can returnnull
if no scriplet is to be used.- Specified by:
getScriplets
in interfaceScriptletFactory
- Throws:
JRException
-
getScriptlet
protected JRAbstractScriptlet getScriptlet(String scriptletClassName) throws JRException
- Throws:
JRException
-
-