|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vraptor.converter.basic.SimpleBooleanConverter
public class SimpleBooleanConverter
Simple Boolean (wrapper class) converter. For primitive boolean see
PrimitiveBooleanConverter.
Uses the error key invalid_boolean if unable to parse its information.
PrimitiveBooleanConverter| Constructor Summary | |
|---|---|
SimpleBooleanConverter()
|
|
| Method Summary | |
|---|---|
Object |
convert(String value,
Class<?> type,
LogicRequest context)
Converts a value to an specific type |
Class<?>[] |
getSupportedTypes()
Returns the list of supported types |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleBooleanConverter()
| Method Detail |
|---|
public Object convert(String value,
Class<?> type,
LogicRequest context)
throws ConversionException
Converter
convert in interface Convertervalue - current valuetype - desired type
ConversionException - some convertion problem hapennedorg.vraptor.converter.Converter#convert(java.lang.String,
java.lang.Class, org.vraptor.scope.LogicRequest)public Class<?>[] getSupportedTypes()
getSupportedTypes in interface ConverterConverter.getSupportedTypes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||