Module tapestry.coerce | Version: | 4.0.0 |
---|---|---|
Package: | org.apache.tapestry.coerce | |
Module used to coerce data types from one type to another. This is used primarily to convert strings into other types (numbers, booleans, etc.) or to convert various types into booleans (to be used as conditions). | ||
Contribution to tapestry.coerce.BooleanConverters | ||
<converter
class="java.lang.Object"
object="instance:ObjectToBooleanConverter"
/> <converter class="java.lang.Number" object="instance:NumberToBooleanConverter" /> <converter class="java.lang.String" object="instance:StringToBooleanConverter" /> <converter class="java.util.Collection" object="instance:CollectionToBooleanConverter" /> <converter class="java.util.Map" object="instance:MapToBooleanConverter" /> | ||
Contribution to tapestry.coerce.IteratorConverters | ||
<converter
class="java.lang.Object"
object="instance:ObjectToIteratorConverter"
/> <converter class="java.util.Collection" object="instance:CollectionToIteratorConverter" /> <converter class="java.lang.Object[]" object="instance:ObjectArrayToIteratorConverter" /> | ||
Contribution to tapestry.coerce.TypeConverters | ||
<converter
class="java.lang.Boolean"
object="service:BooleanConverter"
/> <converter class="java.util.Iterator" object="service:IteratorConverter" /> <converter class="java.lang.String" object="instance:ObjectToStringConverter" /> | ||
Contribution to tapestry.Infrastructure | ||
<property
name="valueConverter"
object="service:ValueConverter"
/> |