org.apache.tapestry5.services
Interface ValueEncoderFactory<V>

All Known Implementing Classes:
EnumValueEncoderFactory, GenericValueEncoderFactory, TypeCoercedValueEncoderFactory

public interface ValueEncoderFactory<V>

A source for ValueEncoder instances of a given type.


Method Summary
 ValueEncoder<V> create(Class<V> type)
          For a given type, create an encoder.
 

Method Detail

create

ValueEncoder<V> create(Class<V> type)
For a given type, create an encoder.

Parameters:
type - type of object for which an encoder is needed
Returns:
the encoder for the object


Copyright © 2003-2012 The Apache Software Foundation.