org.pentaho.reporting.engine.classic.core.util.beans
Class ImageMapValueConverter

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.util.beans.ImageMapValueConverter
All Implemented Interfaces:
ValueConverter

public class ImageMapValueConverter
extends Object
implements ValueConverter

Todo: Document me!

Date: 01.03.2010 Time: 14:40:20

Author:
Thomas Morgner.

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

Constructor Detail

ImageMapValueConverter

public ImageMapValueConverter()
Method Detail

toAttributeValue

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

Specified by:
toAttributeValue in interface ValueConverter
Parameters:
o - the object.
Returns:
the attribute value.
Throws:
BeanException - if there was an error during the conversion.

toPropertyValue

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

Specified by:
toPropertyValue in interface ValueConverter
Parameters:
s - the string.
Returns:
a property value.
Throws:
BeanException - if there was an error during the conversion.