Package de.neuland.jade4j
Class JadeConfiguration
- java.lang.Object
-
- de.neuland.jade4j.JadeConfiguration
-
public class JadeConfiguration extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static intMAX_ENTRIES
-
Constructor Summary
Constructors Constructor Description JadeConfiguration()
-
Method Summary
-
-
-
Field Detail
-
MAX_ENTRIES
protected static final int MAX_ENTRIES
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTemplate
public JadeTemplate getTemplate(String name) throws IOException, JadeException
- Throws:
IOExceptionJadeException
-
renderTemplate
public void renderTemplate(JadeTemplate template, Map<String,Object> model, Writer writer) throws JadeCompilerException
- Throws:
JadeCompilerException
-
renderTemplate
public String renderTemplate(JadeTemplate template, Map<String,Object> model) throws JadeCompilerException
- Throws:
JadeCompilerException
-
isPrettyPrint
public boolean isPrettyPrint()
-
setPrettyPrint
public void setPrettyPrint(boolean prettyPrint)
-
removeFilter
public void removeFilter(String name)
-
getTemplateLoader
public TemplateLoader getTemplateLoader()
-
setTemplateLoader
public void setTemplateLoader(TemplateLoader templateLoader)
-
setExpressionHandler
public void setExpressionHandler(ExpressionHandler expressionHandler)
-
getExpressionHandler
public ExpressionHandler getExpressionHandler()
-
getMode
public Jade4J.Mode getMode()
-
setMode
public void setMode(Jade4J.Mode mode)
-
templateExists
public boolean templateExists(String url)
-
isCaching
public boolean isCaching()
-
setCaching
public void setCaching(boolean cache)
-
clearCache
public void clearCache()
-
getBasePath
public String getBasePath()
-
setBasePath
public void setBasePath(String basePath)
-
-