org.granite.generator.gsp
Class GroovyTemplate
java.lang.Object
org.granite.generator.gsp.GroovyTemplate
- All Implemented Interfaces:
- Template
public class GroovyTemplate
- extends java.lang.Object
- implements Template
- Author:
- Franck WOLFF
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
reset
protected void reset(boolean cleanSource)
reset
protected void reset()
getUri
public java.net.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 java.lang.String getMarkup()
- Specified by:
getMarkup in interface Template
getSource
public java.lang.String getSource()
- Specified by:
getSource in interface Template
compile
public void compile()
throws java.io.IOException,
TemplateParsingException,
TemplateCompilationException
- Specified by:
compile in interface Template
- Throws:
java.io.IOException
TemplateParsingException
TemplateCompilationException
execute
public void execute(java.util.Map<java.lang.String,java.lang.Object> bindings,
java.io.Writer out)
throws java.io.IOException,
TemplateParsingException,
TemplateCompilationException,
TemplateExecutionException
- Specified by:
execute in interface Template
- Throws:
java.io.IOException
TemplateParsingException
TemplateCompilationException
TemplateExecutionException
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object