org.pentaho.reporting.engine.classic.core.util.beans
Class FontValueConverter
java.lang.Object
org.pentaho.reporting.engine.classic.core.util.beans.FontValueConverter
- All Implemented Interfaces:
- ValueConverter
public class FontValueConverter
- extends Object
- implements ValueConverter
Todo: Document Me
- Author:
- Thomas Morgner
FontValueConverter
public FontValueConverter()
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.