Package org.jfree.xml.attributehandlers
Class ShortAttributeHandler
java.lang.Object
org.jfree.xml.attributehandlers.ShortAttributeHandler
- All Implemented Interfaces:
AttributeHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConverts the attribute to a string.Converts a string to aShort
.
-
Constructor Details
-
ShortAttributeHandler
public ShortAttributeHandler()Creates a new attribute handler.
-
-
Method Details
-
toAttributeValue
Converts the attribute to a string.- Specified by:
toAttributeValue
in interfaceAttributeHandler
- Parameters:
o
- the attribute (Short
expected).- Returns:
- A string representing the
Short
value.
-
toPropertyValue
Converts a string to aShort
.- Specified by:
toPropertyValue
in interfaceAttributeHandler
- Parameters:
s
- the string.- Returns:
- a
Short
.
-