Class PageDataType.PageDataConverter

  • All Implemented Interfaces:
    IConverter
    Enclosing class:
    PageDataType

    protected static class PageDataType.PageDataConverter
    extends AbstractConverter
    Default converter for the page data type.
    Since:
    4.0.8
    Version:
    $Revision: 20519 $ $Date: 2017-09-12 22:13:47 -0300 (Tue, 12 Sep 2017) $
    See Also:
    PageDataType
    • Constructor Detail

      • PageDataConverter

        protected PageDataConverter()
    • Method Detail

      • doConversion

        protected <T> T doConversion​(Class<T> type,
                                     Object value,
                                     Locale locale,
                                     String pattern)
                              throws UnsupportedConversionTypeException
        Description copied from class: AbstractConverter
        Converts the specified input object into an output object of the specified type.
        Specified by:
        doConversion in class AbstractConverter
        Type Parameters:
        T - generics support for the data type specified.
        Parameters:
        type - data type to which the value should be converted.
        value - the input value to be converted.
        locale - locale to be used during conversion, if necessary.
        pattern - converter specific conversion pattern, to be used during conversion, if necessary.
        Throws:
        UnsupportedConversionTypeException - if this converter does not supports converting to the specified type.