lumis.doui.source.field.type
Class PageTemplateDataType.PageDataConverter

Package class diagram package PageTemplateDataType.PageDataConverter
java.lang.Object
  extended by lumis.util.converter.AbstractConverter
      extended by lumis.doui.source.field.type.PageTemplateDataType.PageDataConverter
All Implemented Interfaces:
IConverter
Enclosing class:
PageTemplateDataType

protected static class PageTemplateDataType.PageDataConverter
extends AbstractConverter

Converts the value of PageDataType to a given type.

Since:
6.1.0

Constructor Summary
protected PageTemplateDataType.PageDataConverter()
           
 
Method Summary
protected
<T> T
doConversion(Class<T> type, Object value, Locale locale, String pattern)
          Converts the specified input object into an output object of the specified type.
 
Methods inherited from class lumis.util.converter.AbstractConverter
convert, convert, convert, doesNullValueReturnNull, doesValueInstanceOfTypeReturnValue, getDefaultLocale, getDefaultPattern, setDefaultLocale, setDefaultPattern, setFallbackToRegisteredConverters, shouldFallbackToRegisteredConverters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageTemplateDataType.PageDataConverter

protected PageTemplateDataType.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.


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.