Package org.apache.tapestry5.services
Interface ValueEncoderFactory<V>
-
- All Known Implementing Classes:
EnumValueEncoderFactory
,GenericValueEncoderFactory
,TypeCoercedValueEncoderFactory
public interface ValueEncoderFactory<V>
A source forValueEncoder
instances of a given type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
-
-