net.sf.jasperreports.engine.scriptlets
Class DefaultScriptletFactory

java.lang.Object
  extended by net.sf.jasperreports.engine.scriptlets.DefaultScriptletFactory
All Implemented Interfaces:
ScriptletFactory

public final class DefaultScriptletFactory
extends java.lang.Object
implements ScriptletFactory

Version:
$Id: DefaultScriptletFactory.java 3687 2010-04-06 09:50:42Z shertage $
Author:
Teodor Danciu ([email protected])

Method Summary
static DefaultScriptletFactory getInstance()
           
 java.util.List getScriplets(ScriptletFactoryContext context)
          Returns a list of scriptlet instances to be used during report filling.
protected  JRAbstractScriptlet getScriptlet(java.lang.String scriptletClassName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DefaultScriptletFactory getInstance()

getScriplets

public java.util.List 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 return null if no scriplet is to be used.

Specified by:
getScriplets in interface ScriptletFactory
Throws:
JRException

getScriptlet

protected JRAbstractScriptlet getScriptlet(java.lang.String scriptletClassName)
                                    throws JRException
Throws:
JRException


Copyright © 2011. All Rights Reserved.