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