|
JCommon 1.0.17-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.xml.attributehandlers.ShortAttributeHandler
public class ShortAttributeHandler
A class that handles the conversion of Short
attributes to and from an appropriate
String
representation.
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 . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ShortAttributeHandler()
Method Detail |
---|
public String toAttributeValue(Object o)
toAttributeValue
in interface AttributeHandler
o
- the attribute (Short
expected).
Short
value.public Object toPropertyValue(String s)
Short
.
toPropertyValue
in interface AttributeHandler
s
- the string.
Short
.
|
JCommon 1.0.17-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |