de.caff.util

## Interface TextTemplateHandler.CtxExpander<T>

- Enclosing class:
    TextTemplateHandler<T>
  Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

      @FunctionalInterface
      public static interface TextTemplateHandler.CtxExpander<T>

  Expander which uses a context.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `expand(java.util.regex.MatchResult match, TextTemplateHandler<T> handler, T context)` Expand the given match.

- - ### Method Detail

    - #### expand

          @NotNull
          java.lang.String expand(@NotNull
                                           java.util.regex.MatchResult match,
                                           @NotNull
                                           TextTemplateHandler<T> handler,
                                           @NotNull
                                           T context)
                                    throws java.io.IOException

      Expand the given match.
      Parameters:
        `match` - match result to expand
        `handler` - the text template handler which found the match, may be used for recursive expansion
        `context` - context of the expander
      Returns:
        string with completely expanded place holders
      Throws:
        `java.io.IOException` - on expansion errors