Interface TemplateEngine
- All Known Implementing Classes:
MustacheTemplateEngine
public interface TemplateEngine
A
TemplateEngine is used to render documentation snippets.- Author:
- Andy Wilkinson
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncompileTemplate(String path) Compiles the template at the givenpath.
-
Method Details
-
compileTemplate
Compiles the template at the givenpath. Typically, aTemplateResourceResolverwill be used to resolve the path into a resource that can be read and compiled.- Parameters:
path- the path of the template- Returns:
- the compiled
Template - Throws:
IOException- if compilation fails
-