|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mentawai.converter.BasicConverter
org.mentawai.converter.BooleanConverter
public class BooleanConverter
| Constructor Summary | |
|---|---|
BooleanConverter()
|
|
BooleanConverter(boolean notPresentIsFalse)
|
|
| Method Summary | |
|---|---|
protected boolean |
allowNull()
Override this method if you want to convert null (not-present) values. |
java.lang.Object |
convert(java.lang.Object value)
Converts an object to another one. |
| Methods inherited from class org.mentawai.converter.BasicConverter |
|---|
convert |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BooleanConverter()
public BooleanConverter(boolean notPresentIsFalse)
| Method Detail |
|---|
protected boolean allowNull()
BasicConverter
allowNull in class BasicConverter
public java.lang.Object convert(java.lang.Object value)
throws ConversionException
BasicConverter
convert in class BasicConvertervalue - The object to convert.
ConversionException - if the conversion fail for any reason.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||