Module bus.extra

Package org.miaixz.bus.extra.template


package org.miaixz.bus.extra.template
This package provides a wrapper for third-party template engines, offering a unified interface to adapt various template engines. It includes:
  • TemplateEngine: An interface for different template engine implementations.
  • Template: An interface for wrapping template objects from different engines.
  • TemplateConfig: A configuration class to provide common settings.
Since:
Java 17+
Author:
Kimi Liu
  • Class
    Description
    Abstract template interface.
    Configuration class for template engines.
    Enumeration defining different modes for loading template resources.
    Simple template engine factory that automatically creates the corresponding template engine object based on the template engine JARs introduced by the user.
    Provides template utility methods for quick template merging and rendering.
    Interface for template engine providers.