Class AbstractValueToStringConverter

    • Field Detail

      • NULL_STRING

        protected static final String NULL_STRING
        String representation of null value.
        Since:
        1.3.0
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractValueToStringConverter

        protected AbstractValueToStringConverter()
        Constructs a new instance.
        Since:
        1.3.0
    • Method Detail

      • convert

        public String convert​(Object value)
        Converts a parameter value to string representation. This method is null safe.
        Specified by:
        convert in interface ValueToStringConverter
        Parameters:
        value - the parameter value (can be null).
        Returns:
        the string representation of the parameter value (never null).
        Since:
        1.3.0
      • convert2

        protected abstract String convert2​(Object value)
        Converts a parameter value to string representation.
        Parameters:
        value - the parameter value (never null).
        Returns:
        the string representation of the parameter value (can be null).
        Since:
        1.3.0