public abstract class AbstractFreeMarkerConfig extends Object
| Constructor and Description | 
|---|
AbstractFreeMarkerConfig()  | 
| Modifier and Type | Method and Description | 
|---|---|
freemarker.template.Configuration | 
getConfiguration()  | 
FreeMarkerTag | 
getTag(String tagName)
Returns an instance of  
FreeMarkerTag. | 
abstract void | 
init()
Called by framework during initialization. 
 | 
void | 
inject(com.google.inject.Injector injector)
Injects user tags with members 
 | 
void | 
registerTag(String name,
           FreeMarkerTag tag)
Registers an application-specific tag. 
 | 
void | 
setConfiguration(freemarker.template.Configuration config)  | 
public void setConfiguration(freemarker.template.Configuration config)
public freemarker.template.Configuration getConfiguration()
public void registerTag(String name, FreeMarkerTag tag)
name - name of tag.tag - tag instance.public FreeMarkerTag getTag(String tagName)
FreeMarkerTag. Use this method
 to further configure specific tags.tagName - name of tag as used in a templatepublic abstract void init()
public void inject(com.google.inject.Injector injector)
injector - user tags with members using this injector.Copyright © 2020 JavaLite. All rights reserved.