Package org.jfree.report.util.beans
Class ConverterRegistry
java.lang.Object
org.jfree.report.util.beans.ConverterRegistry
-
Method Summary
Modifier and TypeMethodDescriptionstatic ConverterRegistrystatic StringConverts an object to an attribute value.static ObjecttoPropertyValue(String s, Class c) Converts a string to a property value.
-
Method Details
-
getInstance
-
getValueConverter
-
toAttributeValue
Converts an object to an attribute value.- Parameters:
o- the object.- Returns:
- the attribute value.
- Throws:
BeanException- if there was an error during the conversion.
-
toPropertyValue
Converts a string to a property value.- Parameters:
s- the string.- Returns:
- a property value.
- Throws:
BeanException- if there was an error during the conversion.
-