| org.apache.turbine.modules.GenericLoader org.apache.turbine.modules.ScreenLoader
eval | public ConcreteElement eval(RunData data, String name) throws Exception(Code) | | Attempts to load and execute the external Screen. This is used
when you want to execute a Screen which returns its output via
a MultiPartElement instead of out the data.getPage() value.
This allows you to easily chain the execution of Screen modules
together.
Parameters: data - Turbine information. Parameters: name - Name of object that will execute the screen. exception: Exception - a generic exception. |
exec | public void exec(RunData data, String name) throws Exception(Code) | | Attempts to load and execute the Screen. This is used when you
want to execute a Screen which returns its output via the
data.getPage() object.
Parameters: data - Turbine information. Parameters: name - Name of object that will execute the screen. exception: Exception - a generic exception. |
getAssembler | public Assembler getAssembler(String name) throws Exception(Code) | | Pulls out an instance of the object by name. Name is just the
single name of the object. This is equal to getInstance but
returns an Assembler object and is needed to fulfil the Loader
interface.
Parameters: name - Name of object instance. A Screen with the specified name, or null. exception: Exception - a generic exception. |
getInstance | public Screen getInstance(String name) throws Exception(Code) | | Pulls out an instance of the Screen by name. Name is just the
single name of the Screen.
Parameters: name - Name of requested Screen. A Screen with the specified name, or null. exception: Exception - a generic exception. |
getInstance | public static ScreenLoader getInstance()(Code) | | The method through which this class is accessed.
The single instance of this class. |
|
|