public class MockTemplateEngine extends Object implements TemplateEngine
Constructor and Description |
---|
MockTemplateEngine() |
Modifier and Type | Method and Description |
---|---|
void |
addMacroLibrary(String macroLibrary) |
String |
getEvaluatedExpression(String expression,
Map<String,Object> templateObjects) |
List<String> |
getMacroLibraries() |
void |
initialize(String namespace) |
void |
processTemplate(String templateFile,
Map<String,Object> templateObjects,
Writer output) |
void |
setMergeLocation(String mergeLocation) |
void |
shutdown() |
public MockTemplateEngine()
public void initialize(String namespace) throws Exception
initialize
in interface TemplateEngine
Exception
TemplateEngine.initialize(String)
public void processTemplate(String templateFile, Map<String,Object> templateObjects, Writer output) throws Exception
processTemplate
in interface TemplateEngine
Exception
TemplateEngine.processTemplate(String, Map, Writer)
public void shutdown()
shutdown
in interface TemplateEngine
TemplateEngine.shutdown()
public List<String> getMacroLibraries()
getMacroLibraries
in interface TemplateEngine
TemplateEngine.getMacroLibraries()
public void addMacroLibrary(String macroLibrary)
addMacroLibrary
in interface TemplateEngine
TemplateEngine.addMacroLibrary(String)
public void setMergeLocation(String mergeLocation)
setMergeLocation
in interface TemplateEngine
TemplateEngine.setMergeLocation(String)
public String getEvaluatedExpression(String expression, Map<String,Object> templateObjects)
getEvaluatedExpression
in interface TemplateEngine
TemplateEngine.getEvaluatedExpression(String, Map)
Copyright © 2003–2014 AndroMDA.org. All rights reserved.