org.granite.generator
Interface Template

All Known Implementing Classes:
GroovyTemplate

public interface Template

Author:
Franck WOLFF

Method Summary
 void compile()
           
 void execute(Map<String,Object> bindings, Writer out)
           
 String getMarkup()
           
 String getSource()
           
 URI getUri()
           
 boolean isBase()
           
 

Method Detail

getUri

URI getUri()

isBase

boolean isBase()

getMarkup

String getMarkup()

getSource

String getSource()

compile

void compile()
             throws IOException,
                    TemplateParsingException,
                    TemplateCompilationException
Throws:
IOException
TemplateParsingException
TemplateCompilationException

execute

void execute(Map<String,Object> bindings,
             Writer out)
             throws IOException,
                    TemplateParsingException,
                    TemplateCompilationException,
                    TemplateExecutionException
Throws:
IOException
TemplateParsingException
TemplateCompilationException
TemplateExecutionException