Package org.exoplatform.groovyscript
Class GroovyScript
java.lang.Object
org.exoplatform.groovyscript.GroovyScript
A wrapper for a Groovy script and its meta data.
- Version:
- $Revision$
- Author:
- Julien Viet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?> voidRenders the script with the provided context and locale to the specified writer.
-
Constructor Details
-
GroovyScript
-
-
Method Details
-
getTemplateId
-
getGroovyText
-
getScriptClass
-
render
public void render(Map context, Writer writer, Locale locale) throws IOException, TemplateRuntimeException Renders the script with the provided context and locale to the specified writer.- Parameters:
context- the contextwriter- the writerlocale- the locale- Throws:
IOExceptionTemplateRuntimeException
-