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