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