Class InlineDecorator

java.lang.Object
com.github.jknack.handlebars.helper.InlineDecorator
All Implemented Interfaces:
Decorator

@Deprecated(since="2024-07-10") public class InlineDecorator extends Object implements Decorator
Deprecated.
com.github.jknack.handlebars.helper package is deprecated and marked for removal in subsequent releases which will involve removal of the handlebars dependency in AEM.
Inline partials via Decorator API.
  {{#*inline \"myPartial\"}}success{{/inline}}{{> myPartial}}
  
Since:
4.0.0
  • Field Details

    • INSTANCE

      public static final Decorator INSTANCE
      Deprecated.
      A singleton instance of this helper.
  • Constructor Details

    • InlineDecorator

      public InlineDecorator()
      Deprecated.
  • Method Details

    • apply

      public void apply(Template fn, Options options) throws IOException
      Deprecated.
      Description copied from interface: Decorator
      Decorate a template with metadata.
      Specified by:
      apply in interface Decorator
      Parameters:
      fn - Decorated template.
      options - Options object.
      Throws:
      IOException - If something goes wrong.