|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.tapestry.coerce.NumberToBooleanConverter
Converts an arbitrary number to a boolean; uses the long value of the number and evaluates to true unless the value is zero.
| Constructor Summary | |
NumberToBooleanConverter()
|
|
| Method Summary | |
java.lang.Object |
convertValue(java.lang.Object value)
Converts the value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NumberToBooleanConverter()
| Method Detail |
public java.lang.Object convertValue(java.lang.Object value)
TypeConverter
convertValue in interface TypeConvertervalue - the value to be converted (which may be null)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||