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