Class DefaultConversionContext

    • Field Detail

      • sourceType

        private final Type sourceType
      • targetType

        private final Type targetType
      • dateFormat

        private final java.lang.String dateFormat
      • numberFormat

        private final java.lang.String numberFormat
    • Method Detail

      • validateDateFormat

        private void validateDateFormat()
        Validate the dateFormat if it is not null
      • getDateFormat

        public java.lang.String getDateFormat()
        Description copied from interface: ConversionContext
        Returns the date format if this conversion or built-in method is from String to a date type (e.g. Date) or vice versa.
        Specified by:
        getDateFormat in interface ConversionContext
        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.