Package org.jfree.report.util.beans
Class BooleanValueConverter
java.lang.Object
org.jfree.report.util.beans.BooleanValueConverter
- All Implemented Interfaces:
ValueConverter
- Author:
- Thomas Morgner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConverts the attribute to a string.Converts a string to aBoolean.
-
Constructor Details
-
BooleanValueConverter
public BooleanValueConverter()Creates a new value converter.
-
-
Method Details
-
toAttributeValue
Converts the attribute to a string.- Specified by:
toAttributeValuein interfaceValueConverter- Parameters:
o- the attribute (Booleanexpected).- Returns:
- A string representing the
Booleanvalue.
-
toPropertyValue
Converts a string to aBoolean.- Specified by:
toPropertyValuein interfaceValueConverter- Parameters:
s- the string.- Returns:
- a
Boolean.
-