#include <xmltooling/util/TemplateEngine.h>
Public Member Functions | |
| TemplateEngine () | |
| Default constructor. | |
| void | setTagPrefix (const char *tagPrefix) |
| Sets the tag name to use when locating template replacement tags. | |
| virtual void | run (std::istream &is, std::ostream &os, const TemplateParameters ¶meters, const XMLToolingException *e=0) const |
| Processes template from an input stream and executes replacements and conditional logic based on parameters. | |
Static Public Attributes | |
| static std::string | unsafe_chars |
| List of non-built-in characters considered "unsafe" and requiring HTML encoding. | |
Classes | |
| class | TemplateParameters |
| Interface to parameters to plug into templates. More... | |
Supports the following:
The default tag prefix is "mlp". This can be overridden for compatibility.
|
||||||||||||||||||||
|
Processes template from an input stream and executes replacements and conditional logic based on parameters.
|
|
|
Sets the tag name to use when locating template replacement tags.
|
|
|
List of non-built-in characters considered "unsafe" and requiring HTML encoding. The default set is #%&():[]\`{} |
1.4.6