Interface TemplateOutlet
- All Superinterfaces:
Outlet
- All Known Implementing Classes:
GroovyOutlet,GroovyScriptOutlet,GroovyTemplateOutlet,TemplateOutletImpl,VelocityOutlet
A Outlet which interprets a template.
-
Method Summary
Modifier and TypeMethodDescriptiongetContent(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 Details
-
getContent
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.
-