|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use CoercionTuple | |
|---|---|
| org.apache.tapestry5.ioc.internal.services | |
| org.apache.tapestry5.ioc.services | |
| Uses of CoercionTuple in org.apache.tapestry5.ioc.internal.services |
|---|
| Constructor parameters in org.apache.tapestry5.ioc.internal.services with type arguments of type CoercionTuple | |
|---|---|
TypeCoercerImpl(java.util.Collection<CoercionTuple> tuples)
|
|
| Uses of CoercionTuple in org.apache.tapestry5.ioc.services |
|---|
| Methods in org.apache.tapestry5.ioc.services that return CoercionTuple | ||
|---|---|---|
static
|
CoercionTuple.create(java.lang.Class<S> sourceType,
java.lang.Class<T> targetType,
Coercion<S,T> coercion)
Convenience constructor to help with generics. |
|
| Method parameters in org.apache.tapestry5.ioc.services with type arguments of type CoercionTuple | |
|---|---|
static void |
TapestryIOCModule.provideBasicTypeCoercions(Configuration<CoercionTuple> configuration)
Contributes a set of standard type coercions to the TypeCoercer service:
Object to String
String to Double
String to BigDecimal
BigDecimal to Double
Double to BigDecimal
String to BigInteger
BigInteger to Long
String to Long
Long to Byte
Long to Short
Long to Integer
Double to Long
Double to Float
Float to Double
Long to Double
String to Boolean ("false" is always false, other non-blank strings are true)
Long to Boolean (true if long value is non zero)
Null to Boolean (always false)
Collection to Boolean (false if empty)
Object[] to List
primitive[] to List
Object to List (by wrapping as a singleton list)
String to File
String to TimeInterval
TimeInterval to Long
Object to Object[] (wrapping the object as an array)
Collection to Object[] (via the toArray() method)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||