JCommon 1.0.17-redhat-2

org.jfree.xml.attributehandlers
Interface AttributeHandler

All Known Implementing Classes:
BooleanAttributeHandler, ByteAttributeHandler, CharacterAttributeHandler, DoubleAttributeHandler, FloatAttributeHandler, IntegerAttributeHandler, LongAttributeHandler, ShortAttributeHandler, StringAttributeHandler

public interface AttributeHandler

An attribute handler is an object that can transform an object into a string or vice versa.


Method Summary
 String toAttributeValue(Object o)
          Converts an object to an attribute value.
 Object toPropertyValue(String s)
          Converts a string to a property value.
 

Method Detail

toAttributeValue

String toAttributeValue(Object o)
Converts an object to an attribute value.

Parameters:
o - the object.
Returns:
the attribute value.

toPropertyValue

Object toPropertyValue(String s)
Converts a string to a property value.

Parameters:
s - the string.
Returns:
a property value.

JCommon 1.0.17-redhat-2

Copyright © 2001-2012 JFree.org. All Rights Reserved.