org.jfree.xml.attributehandlers
public class DoubleAttributeHandler extends Object implements AttributeHandler
Constructor Summary | |
---|---|
DoubleAttributeHandler()
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 Double.
|
Parameters: o the attribute (Double expected).
Returns: A string representing the Double value.
Parameters: s the string.
Returns: a Double.