public interface JadeTemplateEngine extends TemplateEngine
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_CACHE_SIZE
Default max number of templates to cache
|
static String |
DEFAULT_TEMPLATE_EXTENSION
Default template extension
|
Modifier and Type | Method and Description |
---|---|
static JadeTemplateEngine |
create()
Create a template engine using defaults
|
de.neuland.jade4j.JadeConfiguration |
getJadeConfiguration()
Get a reference to the internal JadeConfiguration object so it
can be configured.
|
JadeTemplateEngine |
setExtension(String extension)
Set the extension for the engine
|
JadeTemplateEngine |
setMaxCacheSize(int maxCacheSize)
Set the max cache size for the engine
|
render
static final int DEFAULT_MAX_CACHE_SIZE
static final String DEFAULT_TEMPLATE_EXTENSION
static JadeTemplateEngine create()
JadeTemplateEngine setExtension(String extension)
extension
- the extensionJadeTemplateEngine setMaxCacheSize(int maxCacheSize)
maxCacheSize
- the maxCacheSizede.neuland.jade4j.JadeConfiguration getJadeConfiguration()
Copyright © 2015. All Rights Reserved.