Class EnumValueEncoderFactory<E extends Enum<E>>
- java.lang.Object
 - 
- org.apache.tapestry5.internal.services.EnumValueEncoderFactory<E>
 
 
- 
- Type Parameters:
 E- the type of the value
- All Implemented Interfaces:
 ValueEncoderFactory<E>
@Deprecated public class EnumValueEncoderFactory<E extends Enum<E>> extends Object implements ValueEncoderFactory<E>
Deprecated.this class is superseded byTypeCoercedValueEncoderFactoryand scheduled to be removed in Tapestry 5.5Factory that provides a configured instance ofEnumValueEncoder. 
- 
- 
Constructor Summary
Constructors Constructor Description EnumValueEncoderFactory(TypeCoercer typeCoercer)Deprecated. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ValueEncoder<E>create(Class<E> type)Deprecated.For a given type, create an encoder. 
 - 
 
- 
- 
Constructor Detail
- 
EnumValueEncoderFactory
public EnumValueEncoderFactory(TypeCoercer typeCoercer)
Deprecated. 
 - 
 
- 
Method Detail
- 
create
public ValueEncoder<E> create(Class<E> type)
Deprecated.Description copied from interface:ValueEncoderFactoryFor a given type, create an encoder.- Specified by:
 createin interfaceValueEncoderFactory<E extends Enum<E>>- Parameters:
 type- type of object for which an encoder is needed- Returns:
 - the encoder for the object
 
 
 - 
 
 -