Interface Printable

All Superinterfaces:
TemplateElement
All Known Subinterfaces:
TemplateDocument

public interface Printable extends TemplateElement
Interface representing a printable template node. Evaluates the template fragment utilizing the provided evaluator.
Since:
4.0.17
  • Method Details

    • print

      void print(Evaluator evaluator) throws IOException
      Evaluates the template fragment utilizing the provided evaluator. Do not call this method directly, use Evaluator.print(Printable).
      Parameters:
      evaluator - used during evaluation for determing variable values, invoking methods etc.
      Throws:
      IOException - on failure
      Since:
      4.0.17
    • getInfo

      String getInfo()
      The descriptive text shown in template stack traces. If null is returned and isAnonymous() is false then the value returned by toString() is used in the trace.
      Since:
      4.0.17
      See Also:
    • isAnonymous

      boolean isAnonymous()
      Anonymous means: Does not occur in template stack traces.
      Since:
      4.0.17