de.neuland.jade4j
Class JadeConfiguration
java.lang.Object
de.neuland.jade4j.JadeConfiguration
public class JadeConfiguration
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_ENTRIES
protected static final int MAX_ENTRIES
- See Also:
- Constant Field Values
JadeConfiguration
public JadeConfiguration()
getTemplate
public JadeTemplate getTemplate(String name)
throws IOException,
JadeException
- Throws:
IOException
JadeException
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)
setFilter
public void setFilter(String name,
Filter filter)
removeFilter
public void removeFilter(String name)
getSharedVariables
public Map<String,Object> getSharedVariables()
setSharedVariables
public void setSharedVariables(Map<String,Object> sharedVariables)
getTemplateLoader
public TemplateLoader getTemplateLoader()
setTemplateLoader
public void setTemplateLoader(TemplateLoader templateLoader)
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()
Copyright © 2013. All rights reserved.