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

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

public class VerticalTextAlignValueConverter
extends Object
implements ValueConverter

Creation-Date: 06.09.2007, 14:00:42

Author:
Thomas Morgner

Constructor Summary
VerticalTextAlignValueConverter()
           
 
Method Summary
 String toAttributeValue(Object o)
          Converts an object to an attribute value.
 Object toPropertyValue(String o)
          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

VerticalTextAlignValueConverter

public VerticalTextAlignValueConverter()
Method Detail

toAttributeValue

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

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

toPropertyValue

public Object toPropertyValue(String o)
                       throws BeanException
Description copied from interface: ValueConverter
Converts a string to a property value.

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