public final class STTemplates extends Object
Modifier and Type | Field and Description |
---|---|
private static char |
delimiterStartChar |
private static char |
delimiterStopChar |
private org.stringtemplate.v4.STGroup |
group |
private static Logger |
LOGGER |
private static String |
mainTemplateFile |
private static String |
method_prefix |
private org.stringtemplate.v4.STErrorListener |
myErrorListener
Errror listener for string templates - registers and throws exceptions.
|
private Deque<STException> |
stExceptions |
private static String |
templateFilesEncoding |
private Set<String> |
templateMethodNames |
Constructor and Description |
---|
STTemplates(ResourceLoader resourceLoader,
Configuration cfg) |
Modifier and Type | Method and Description |
---|---|
Deque<STException> |
exceptions()
Return list of exceptions that has occured during processing of string templates.
|
Set<String> |
getAllTemplateMethodNames()
Return all template method names (build-in and custom) supplied by template group files
|
private static Set<String> |
getAllTemplateNames(org.stringtemplate.v4.STGroup group) |
org.stringtemplate.v4.STGroup |
getSTGroup()
Return the loaded STGroup instance that can be used to generate output.
|
private static final Logger LOGGER
private static final String mainTemplateFile
private static final String templateFilesEncoding
private static final char delimiterStartChar
private static final char delimiterStopChar
private static final String method_prefix
private final Deque<STException> stExceptions
private final org.stringtemplate.v4.STGroup group
private final org.stringtemplate.v4.STErrorListener myErrorListener
public STTemplates(ResourceLoader resourceLoader, Configuration cfg) throws Exception
Exception
public org.stringtemplate.v4.STGroup getSTGroup()
public Set<String> getAllTemplateMethodNames()
public Deque<STException> exceptions()
Version 2.0.0 generated on 2014-11-22 at 09:45 - (C) 41concepts Aps. Refer to project homepage valjogen.41concepts.com for more information.