public class TemplateManager extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TemplateManager.DefaultEntityResolver |
static class |
TemplateManager.LoggingErrorHandler |
Modifier and Type | Method and Description |
---|---|
void |
addTemplate(Template template) |
static TemplateManager |
getInstance() |
Template |
getTemplateByName(String selectedTemplate) |
String[] |
getTemplateNames() |
Map<String,Template> |
parseTemplateFile(File file) |
TemplateManager |
reset()
Resets the template Map by re-reading the template files.
|
public static TemplateManager getInstance()
public void addTemplate(Template template)
public TemplateManager reset()
public String[] getTemplateNames()
public Map<String,Template> parseTemplateFile(File file) throws IOException, SAXException, ParserConfigurationException
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.