org.granite.generator
Interface Template

All Known Implementing Classes:
GroovyTemplate

public interface Template

Author:
Franck WOLFF

Method Summary
 void compile()
           
 void execute(java.util.Map<java.lang.String,java.lang.Object> bindings, java.io.Writer out)
           
 java.lang.String getMarkup()
           
 java.lang.String getSource()
           
 java.net.URI getUri()
           
 boolean isBase()
           
 

Method Detail

getUri

java.net.URI getUri()

isBase

boolean isBase()

getMarkup

java.lang.String getMarkup()

getSource

java.lang.String getSource()

compile

void compile()
             throws java.io.IOException,
                    TemplateParsingException,
                    TemplateCompilationException
Throws:
java.io.IOException
TemplateParsingException
TemplateCompilationException

execute

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