Interface IContext

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean  name)
      Checks whether a specific variable is already contained in this context or not.
      getLocale()
      Returns the locale that should be used for processing the template.
       name)
      Retrieve a specific variable, by name.
      <> getVariableNames()
      Get a list with all the names of variables contained at this context.
    • Method Detail

      • getLocale

         getLocale()

        Returns the locale that should be used for processing the template.

        Returns:
        the locale to be used.
      • containsVariable

        boolean containsVariable​( name)

        Checks whether a specific variable is already contained in this context or not.

        Parameters:
        name - the name of the variable to be checked.
        Returns:
        true if the variable is already contained, false if not.
      • getVariableNames

        <> getVariableNames()

        Get a list with all the names of variables contained at this context.

        Returns:
        the variable names.
      • getVariable

         getVariable​( name)

        Retrieve a specific variable, by name.

        Parameters:
        name - the name of the variable to be retrieved.
        Returns:
        the variable's value.