Class JRAbstractTextDataSource

    • Field Detail

      • EXCEPTION_MESSAGE_KEY_CANNOT_CONVERT_FIELD_TYPE

        public static final String EXCEPTION_MESSAGE_KEY_CANNOT_CONVERT_FIELD_TYPE
        See Also:
        Constant Field Values
      • EXCEPTION_MESSAGE_KEY_CANNOT_MODIFY_PROPERTIES_AFTER_START

        public static final String EXCEPTION_MESSAGE_KEY_CANNOT_MODIFY_PROPERTIES_AFTER_START
        See Also:
        Constant Field Values
      • EXCEPTION_MESSAGE_KEY_NODE_NOT_AVAILABLE

        public static final String EXCEPTION_MESSAGE_KEY_NODE_NOT_AVAILABLE
        See Also:
        Constant Field Values
      • EXCEPTION_MESSAGE_KEY_NULL_SELECT_EXPRESSION

        public static final String EXCEPTION_MESSAGE_KEY_NULL_SELECT_EXPRESSION
        See Also:
        Constant Field Values
      • EXCEPTION_MESSAGE_KEY_UNKNOWN_COLUMN_NAME

        public static final String EXCEPTION_MESSAGE_KEY_UNKNOWN_COLUMN_NAME
        See Also:
        Constant Field Values
      • EXCEPTION_MESSAGE_KEY_UNKNOWN_NUMBER_TYPE

        public static final String EXCEPTION_MESSAGE_KEY_UNKNOWN_NUMBER_TYPE
        See Also:
        Constant Field Values
    • Constructor Detail

      • JRAbstractTextDataSource

        protected JRAbstractTextDataSource()
    • Method Detail

      • convertStringValue

        protected Object convertStringValue​(String text,
                                            Class<?> valueClass)
      • getConvertBean

        protected org.apache.commons.beanutils.locale.LocaleConvertUtilsBean getConvertBean()
      • setTextAttributes

        public void setTextAttributes​(JRAbstractTextDataSource textDataSource)
        Copy the text parsing attributes for another object.
        Parameters:
        textDataSource - the object to copy the attributes from
      • getLocale

        public Locale getLocale()
      • setLocale

        public void setLocale​(Locale locale)
      • setLocale

        public void setLocale​(String locale)
      • getDatePattern

        public String getDatePattern()
      • setDatePattern

        public void setDatePattern​(String datePattern)
      • getNumberPattern

        public String getNumberPattern()
      • setNumberPattern

        public void setNumberPattern​(String numberPattern)
      • getTimeZone

        public TimeZone getTimeZone()
      • setTimeZone

        public void setTimeZone​(TimeZone timeZone)
      • setTimeZone

        public void setTimeZone​(String timeZoneId)