Interface Decorator

All Known Implementing Classes:
InlineDecorator

@Deprecated(since="2024-07-10") public interface Decorator
Deprecated.
com.github.jknack.handlebars package is deprecated and marked for removal in subsequent releases which will involve removal of the handlebars dependency in AEM.
A decorator allows a declarative means to both annotate particular blocks with metadata as well as to wrap in behaviors when desired, prior to execution.
Since:
4.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(Template fn, Options options)
    Deprecated.
    Decorate a template with metadata.
  • Method Details

    • apply

      void apply(Template fn, Options options) throws IOException
      Deprecated.
      Decorate a template with metadata.
      Parameters:
      fn - Decorated template.
      options - Options object.
      Throws:
      IOException - If something goes wrong.