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 GovernorFactorygetInstance()List<JRAbstractScriptlet>getScriplets(ScriptletFactoryContext context)Returns a list of scriptlet instances to be used during report filling.protected JRAbstractScriptletgetScriptlet(String scriptletClassName)
-
-
-
Method Detail
-
getInstance
public static GovernorFactory getInstance()
-
getScriplets
public List<JRAbstractScriptlet> getScriplets(ScriptletFactoryContext context) throws JRException
Description copied from interface:ScriptletFactoryReturns a list of scriptlet instances to be used during report filling. This method can returnnullif no scriplet is to be used.- Specified by:
getScripletsin interfaceScriptletFactory- Throws:
JRException
-
getScriptlet
protected JRAbstractScriptlet getScriptlet(String scriptletClassName) throws JRException
- Throws:
JRException
-
-