org.apache.tapestry5.services
Interface ValueEncoderSource

All Known Implementing Classes:
ValueEncoderSourceImpl

public interface ValueEncoderSource

A source for value encoders based on a property type.


Method Summary
<T> ValueEncoder<T>
getValueEncoder(Class<T> type)
          Gets or creates a value encoder for the indicated type.
 

Method Detail

getValueEncoder

<T> ValueEncoder<T> getValueEncoder(Class<T> type)
Gets or creates a value encoder for the indicated type. ValueEncoders are cached.

Parameters:
type - type of value to be encoded and decoded
Returns:
the value encoder


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.