org.jfree.report.util.beans
Class ClassValueConverter

java.lang.Object
  extended by org.jfree.report.util.beans.ClassValueConverter
All Implemented Interfaces:
ValueConverter

public class ClassValueConverter
extends java.lang.Object
implements ValueConverter

A class that handles the conversion of Integer attributes to and from their String representation.

Author:
Thomas Morgner

Constructor Summary
ClassValueConverter()
           
 
Method Summary
 java.lang.String toAttributeValue(java.lang.Object o)
          Converts an object to an attribute value.
 java.lang.Object toPropertyValue(java.lang.String s)
          Converts a string to a property value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassValueConverter

public ClassValueConverter()
Method Detail

toAttributeValue

public java.lang.String toAttributeValue(java.lang.Object o)
Description copied from interface: ValueConverter
Converts an object to an attribute value.

Specified by:
toAttributeValue in interface ValueConverter
Parameters:
o - the object.
Returns:
the attribute value.

toPropertyValue

public java.lang.Object toPropertyValue(java.lang.String s)
Description copied from interface: ValueConverter
Converts a string to a property value.

Specified by:
toPropertyValue in interface ValueConverter
Parameters:
s - the string.
Returns:
a property value.