|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.castor.cpa.persistence.convertor.AbstractTypeConvertor
org.castor.cpa.persistence.convertor.StringToBoolean
public final class StringToBoolean
Convert String to Boolean.
| Constructor Summary | |
|---|---|
StringToBoolean()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
configure(AbstractProperties properties)
Configure the converter with given configuration. |
Object |
convert(Object object)
Convert the object from one type to another. |
void |
parameterize(String parameter)
Initialize the converter with the given parameter. |
| Methods inherited from class org.castor.cpa.persistence.convertor.AbstractTypeConvertor |
|---|
clone, fromType, toString, toType |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StringToBoolean()
| Method Detail |
|---|
public void configure(AbstractProperties properties)
properties - Properties to use.public void parameterize(String parameter)
null which both should lead to
the default behaviour of the converter.
parameter - The parameter for the convertor (null if is not specified).public Object convert(Object object)
object - The object to convert.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||