Interface ConversionContext

  • All Known Implementing Classes:
    DefaultConversionContext

    public interface ConversionContext
    Context object passed to conversion providers and built-in methods.
    Author:
    Gunnar Morling
    • Method Detail

      • getTargetType

        Type getTargetType()
        Returns the target type of this conversion.
        Returns:
        The target type of this conversion.
      • getDateFormat

        String getDateFormat()
        Returns the date format if this conversion or built-in method is from String to a date type (e.g. Date) or vice versa.
        Returns:
        The date format if this conversion or built-in method is from String to a date type. null is returned for other types or if not given.
      • getNumberFormat

        String getNumberFormat()