org.fusesource.scalate.support
Returns the header to add to the top of the method in the generated Scala code for the typesafe template implementation for languages like ssp, scaml or jade
Returns the header to add to the top of the method in the generated Scala code for the typesafe template implementation for languages like ssp, scaml or jade
Returns whether or not the methods on the variable should be imported
The name of the variable
A TemplatePackage where we try and find an object/controller/resource type based on the name of the current template and if we can find it then we create a variable called **it** of the controller type and import its values into the template.
This approach can be used for JAXRS controllers or for template views of objects. It avoids having to explicitly import the controller or 'it' variable from the attribute scope