Class XMLEngine

All Implemented Interfaces:
IExtensionTemplateEngine, com.nomagic.magicreport.engine.IRuntimeInstanceVelocityEngine, ITemplateEngine
Direct Known Subclasses:
DocBookEngine

@OpenApiAll public class XMLEngine extends DefaultTemplateEngine
This class provides an instance of the Velocity template engine.
Since:
Jun 20, 2008
Version:
1.0 Jun 20, 2008
  • Constructor Details

    • XMLEngine

      public XMLEngine()
      Create instance of engine.
  • Method Details

    • createComment

      protected String createComment(String message)
      Return a formatted comment from given message. The default comment format return from this method is "<!-- {0} -->" where {0} is message;
      Overrides:
      createComment in class DefaultTemplateEngine
      Parameters:
      message - message to put in document comment
      Returns:
      comment