public interface Converters
Modifier and Type | Method and Description |
---|---|
boolean |
existsFor(java.lang.Class<?> type) |
boolean |
existsTwoWayFor(java.lang.Class<?> type) |
void |
register(java.lang.Class<? extends Converter<?>> converterClass) |
<T> Converter<T> |
to(java.lang.Class<T> type)
Extracts a converter for this specific type.
|
TwoWayConverter<?> |
twoWayConverterFor(java.lang.Class<?> type) |
<T> Converter<T> to(java.lang.Class<T> type)
type
- container
- void register(java.lang.Class<? extends Converter<?>> converterClass)
boolean existsFor(java.lang.Class<?> type)
boolean existsTwoWayFor(java.lang.Class<?> type)
TwoWayConverter<?> twoWayConverterFor(java.lang.Class<?> type)
Copyright © 2013 Caelum. All Rights Reserved.