Interface IExtensionTemplateEngine

All Known Implementing Classes:
DefaultTemplateEngine, DocBookEngine, DOCXEngine, HTMLEngine, LaTeXEngine, PPTXEngine, RTFEngine, TextEngine, XLSXEngine, XMLEngine

@OpenApiAll public interface IExtensionTemplateEngine
The IExtensionTemplateEngine is used by an extension template engine. It provides the following type of functionality:
  • Custom Class Loader
Since:
Mar 11, 2008
  • Method Details

    • getClassLoader

      ClassLoader getClassLoader()
      Returns the class loader for the engine. This method will return null in such implementations if this class was loaded by the application class loader.
      Returns:
      the class loader that loaded the class or interface represented by this object.
    • setClassLoader

      void setClassLoader(ClassLoader loader)
      Sets the class loader for this engine. The class loader must be set before a template is evaluated. This method allows the creator of the template to provide the appropriate class loader to code running in the template when loading classes and resources.
      Parameters:
      loader - Class loader for this engine