org.jfree.xml.attributehandlers

Class StringAttributeHandler

public class StringAttributeHandler extends Object implements AttributeHandler

A String attribute handler.
Constructor Summary
StringAttributeHandler()
Creates a new attribute handler.
Method Summary
StringtoAttributeValue(Object o)
Converts the attribute to a string.
ObjecttoPropertyValue(String s)
Converts a copy of the string.

Constructor Detail

StringAttributeHandler

public StringAttributeHandler()
Creates a new attribute handler.

Method Detail

toAttributeValue

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

Parameters: o the attribute (String expected).

Returns: A string.

toPropertyValue

public Object toPropertyValue(String s)
Converts a copy of the string.

Parameters: s the string.

Returns: a Short.