org.jfree.xml.attributehandlers
public class BooleanAttributeHandler extends Object implements AttributeHandler
Constructor Summary | |
---|---|
BooleanAttributeHandler()
Creates a new attribute handler. |
Method Summary | |
---|---|
String | toAttributeValue(Object o)
Converts the attribute to a string.
|
Object | toPropertyValue(String s)
Converts a string to a Boolean.
|
Parameters: o the attribute (Boolean expected).
Returns: A string representing the Boolean value.
Parameters: s the string.
Returns: a Boolean.