org.granite.generator.gsp
Class GroovyTemplate
java.lang.Object
org.granite.generator.gsp.GroovyTemplate
- All Implemented Interfaces:
- Template
public class GroovyTemplate
- extends Object
- implements Template
- Author:
- Franck WOLFF
reset
protected void reset(boolean cleanSource)
reset
protected void reset()
getUri
public URI getUri()
- Specified by:
getUri in interface Template
getLastModified
public long getLastModified()
readLastModified
protected long readLastModified()
isOutdated
public boolean isOutdated()
isBase
public boolean isBase()
- Specified by:
isBase in interface Template
getMarkup
public String getMarkup()
- Specified by:
getMarkup in interface Template
getSource
public String getSource()
- Specified by:
getSource in interface Template
compile
public void compile()
throws IOException,
TemplateParsingException,
TemplateCompilationException
- Specified by:
compile in interface Template
- Throws:
IOException
TemplateParsingException
TemplateCompilationException
execute
public void execute(Map<String,Object> bindings,
Writer out)
throws IOException,
TemplateParsingException,
TemplateCompilationException,
TemplateExecutionException
- Specified by:
execute in interface Template
- Throws:
IOException
TemplateParsingException
TemplateCompilationException
TemplateExecutionException
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object