org.apache.torque.generator.template
Interface TemplateOutlet

All Superinterfaces:
Outlet
All Known Implementing Classes:
TemplateOutletImpl, VelocityOutlet

public interface TemplateOutlet
extends Outlet

A Outlet which interprets a template.


Method Summary
 String getContent(ControllerState controllerState)
          Returns the contents as a Template as a String.
 
Methods inherited from interface org.apache.torque.generator.outlet.Outlet
addMergepointMapping, afterExecute, beforeExecute, execute, getInputElementName, getMergepointMapping, getMergepointMappings, getName, setInputElementName, setMergepointMapping
 

Method Detail

getContent

String getContent(ControllerState controllerState)
                  throws ConfigurationException
Returns the contents as a Template as a String.

Parameters:
controllerState - the state of the controller, not null.
Returns:
the template as a String.
Throws:
ConfigurationException - if the template cannot be read.


Copyright © 2000-2012 The Apache Software Foundation. All Rights Reserved.