Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.jfree.xml.attributehandlers.IntegerAttributeHandler
Integer
attributes to and from an appropriate
String
representation.
Constructor Summary | |
|
Method Summary | |
String |
|
Object |
|
public String toAttributeValue(Object o)
Converts the attribute to a string.
- Specified by:
- toAttributeValue in interface AttributeHandler
- Parameters:
o
- the attribute (Integer
expected).
- Returns:
- A string representing the integer value.
public Object toPropertyValue(String s)
Converts a string to aInteger
.
- Specified by:
- toPropertyValue in interface AttributeHandler
- Parameters:
s
- the string.
- Returns:
- a
Integer
.