Class TextFunctionFactory

java.lang.Object
com.ibm.icu.message2.TextFunctionFactory
All Implemented Interfaces:
FunctionFactory

class TextFunctionFactory extends Object implements FunctionFactory
Creates a Function doing literal selection, similar to {exp, select} in MessageFormat. TODO: TZU
  • Constructor Details

    • TextFunctionFactory

      TextFunctionFactory()
  • Method Details

    • create

      public Function create(Locale locale, Map<String,Object> fixedOptions)
      The method that is called to create a function.
      Specified by:
      create in interface FunctionFactory
      Parameters:
      locale - the locale to use for formatting / selection.
      fixedOptions - the options to use for formatting / selection. The keys and values are function dependent.
      Returns:
      the function.