Klasse StringToBooleanConverter
java.lang.Object
org.apache.torque.generator.source.transform.model.StringToBooleanConverter
- Alle implementierten Schnittstellen:
TypeConverter
Converts a String to a Boolean.
- Version:
- $Id: $
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Konstruktordetails
-
StringToBooleanConverter
public StringToBooleanConverter()
-
-
Methodendetails
-
accept
Beschreibung aus Schnittstelle kopiert:TypeConverter
Returns true if and only if the converter can convert the passed value to the passed class.- Angegeben von:
accept
in SchnittstelleTypeConverter
- Parameter:
value
- the value to convert, may be null.targetClass
- the target class, not null.- Gibt zurück:
- whether the converter can convert the value to the passed target class.
-
convert
Beschreibung aus Schnittstelle kopiert:TypeConverter
Converts the passed value to the passed class. Is only called if accept has returned true.- Angegeben von:
convert
in SchnittstelleTypeConverter
- Parameter:
value
- the value to convert, may be null.targetClass
- the target class, not null.- Gibt zurück:
- the converted value.
-