Package cimerant

Interface CimerantContext<E>

Type Parameters:
E - The base type of the context.
All Known Implementing Classes:
JsonContext

public interface CimerantContext<E>
Interface describing the template data context. This set of routines is used by the template to set and get 'named' data object to pass them to the template engine to use when rendering a template.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the associated context.
  • Method Details

    • getContext

      ContextRoot<E> getContext() throws SysError
      Get the associated context.
      Returns:
      the associated context.
      Throws:
      SysError - error thrown when trying to get the associated context.