org.jfree.xml.attributehandlers

Class CharacterAttributeHandler

public class CharacterAttributeHandler extends Object implements AttributeHandler

A class that handles the conversion of Character attributes to and from an appropriate String representation.
Constructor Summary
CharacterAttributeHandler()
Creates a new attribute handler.
Method Summary
StringtoAttributeValue(Object o)
Converts the attribute to a string.
ObjecttoPropertyValue(String s)
Converts a string to a Character.

Constructor Detail

CharacterAttributeHandler

public CharacterAttributeHandler()
Creates a new attribute handler.

Method Detail

toAttributeValue

public String toAttributeValue(Object o)
Converts the attribute to a string.

Parameters: o the attribute (Character expected).

Returns: A string representing the Character value.

toPropertyValue

public Object toPropertyValue(String s)
Converts a string to a Character.

Parameters: s the string.

Returns: a Character.