|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.xml.attributehandlers.IntegerAttributeHandler
public class IntegerAttributeHandler
A class that handles the conversion of Integer
attributes to and from an appropriate
String
representation.
Constructor Summary | |
---|---|
IntegerAttributeHandler()
Creates a new attribute handler. |
Method Summary | |
---|---|
java.lang.String |
toAttributeValue(java.lang.Object o)
Converts the attribute to a string. |
java.lang.Object |
toPropertyValue(java.lang.String s)
Converts a string to a Integer . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntegerAttributeHandler()
Method Detail |
---|
public java.lang.String toAttributeValue(java.lang.Object o)
toAttributeValue
in interface AttributeHandler
o
- the attribute (Integer
expected).
public java.lang.Object toPropertyValue(java.lang.String s)
Integer
.
toPropertyValue
in interface AttributeHandler
s
- the string.
Integer
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |