Class FtlWriter

java.lang.Object
org.apache.ofbiz.widget.renderer.macro.FtlWriter

public final class FtlWriter extends Object
Processes FTL templates and writes result to Appendables.
  • Constructor Details

  • Method Details

    • processFtl

      public void processFtl(Appendable writer, RenderableFtl renderableFtl)
      Process the given RenderableFtl as a template and write the result to the Appendable.
      Parameters:
      writer - The Appendable to write the result of the template processing to.
      renderableFtl - The Renderable FTL to process as a template.
    • processFtlString

      public void processFtlString(Appendable writer, Locale locale, String ftlString)
      Process the given FTL string as a template and write the result to the Appendable.
      Parameters:
      writer - The Appendable to write the result of the template processing to.
      ftlString - The FTL string to process as a template.