Interface AdvancedMessageFormat.Function

All Known Implementing Classes:
FONode.GatherContextInfoFunction
Enclosing class:
AdvancedMessageFormat

public static interface AdvancedMessageFormat.Function
Implementations of this interface do some computation based on the message parameters given to it. Note: at the moment, this has to be done in a local-independent way since there is no locale information.
  • Method Summary

    Modifier and Type
    Method
    Description
    Executes the function.
    Returns the name of the function.
  • Method Details

    • evaluate

      Object evaluate(Map<String,Object> params)
      Executes the function.
      Parameters:
      params - the message parameters
      Returns:
      the function result
    • getName

      Object getName()
      Returns the name of the function.
      Returns:
      the name of the function