org.apache.myfaces.trinidadinternal.convert
Interface TypeConverter

All Known Implementing Classes:
GenericConverter, ReflectionConverter, ReverseDiscoveryGenericConverter

public interface TypeConverter

Defines convertion capability for generic Converters


Method Summary
 java.lang.Object convert(java.lang.Object source, java.lang.Class<?> targetType)
          converts the given Object into an instance of the targetType.
 

Method Detail

convert

java.lang.Object convert(java.lang.Object source,
                         java.lang.Class<?> targetType)
converts the given Object into an instance of the targetType.

Returns:
an instance of the targetType.


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.