Interface TemplateOutlet
-
- All Superinterfaces:
Outlet
- All Known Implementing Classes:
GroovyOutlet
,GroovyScriptOutlet
,GroovyTemplateOutlet
,TemplateOutletImpl
,VelocityOutlet
public interface TemplateOutlet extends Outlet
A Outlet which interprets a template.
-
-
Method Summary
Modifier and Type Method Description 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, getInputClass, getInputElementName, getMergepointMapping, getMergepointMappings, getName, setInputClass, 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.
-
-