|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry5.internal.services.GenericValueEncoderFactory<V>
V
- public class GenericValueEncoderFactory<V>
An implementation of ValueEncoderFactory
that returns a pre-wired instance of ValueEncoder
. This is
odd for a factory, because it doesn't actually create the returned instance, just stores it until the encoder is
needed.
Constructor Summary | |
---|---|
GenericValueEncoderFactory(ValueEncoder<V> encoder)
|
Method Summary | ||
---|---|---|
ValueEncoder<V> |
create(java.lang.Class<V> type)
For a given type, create an encoder. |
|
static
|
create(ValueEncoder<V> encoder)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenericValueEncoderFactory(ValueEncoder<V> encoder)
Method Detail |
---|
public ValueEncoder<V> create(java.lang.Class<V> type)
ValueEncoderFactory
create
in interface ValueEncoderFactory<V>
type
- type of object for which an encoder is needed
public static <V> GenericValueEncoderFactory<V> create(ValueEncoder<V> encoder)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |