org.apache.tapestry5.internal.services
Class TypeCoercedValueEncoderFactory
java.lang.Object
org.apache.tapestry5.internal.services.TypeCoercedValueEncoderFactory
- All Implemented Interfaces:
- ValueEncoderFactory<Object>
public class TypeCoercedValueEncoderFactory
- extends Object
- implements ValueEncoderFactory<Object>
Provides ValueEncoder
instances that are backed by the TypeCoercer
service.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeCoercedValueEncoderFactory
public TypeCoercedValueEncoderFactory(TypeCoercer typeCoercer)
create
public ValueEncoder<Object> create(Class<Object> type)
- Description copied from interface:
ValueEncoderFactory
- For a given type, create an encoder.
- Specified by:
create
in interface ValueEncoderFactory<Object>
- Parameters:
type
- type of object for which an encoder is needed
- Returns:
- the encoder for the object
Copyright © 2003-2012 The Apache Software Foundation.