Class FlexibleStringExpander.ConstSimpleElem

    • Constructor Detail

      • ConstSimpleElem

        protected ConstSimpleElem​(char[] chars)
    • Method Detail

      • expandString

        public java.lang.String expandString​(java.util.Map<java.lang.String,​? extends java.lang.Object> context,
                                             java.util.TimeZone timeZone,
                                             java.util.Locale locale)
        Description copied from class: FlexibleStringExpander
        Evaluate this object's expression and return the result as a String. Null or empty expressions return an empty String. A null context argument will return the original expression.
        Overrides:
        expandString in class FlexibleStringExpander
        Parameters:
        context - The evaluation context
        timeZone - The time zone to be used for localization
        locale - The locale to be used for localization
        Returns:
        This object's expression result as a String
      • get

        protected java.lang.Object get​(java.util.Map<java.lang.String,​? extends java.lang.Object> context,
                                       java.util.TimeZone timeZone,
                                       java.util.Locale locale)
        Specified by:
        get in class FlexibleStringExpander