org.jfree.report.util.beans
public class ArrayValueConverter extends Object implements ValueConverter
Constructor Summary | |
---|---|
ArrayValueConverter(Class arrayClass, ValueConverter elementConverter)
Creates a new ArrayValueConverter for the given element type and
array type. |
Method Summary | |
---|---|
String | toAttributeValue(Object o)
Converts an object to an attribute value.
|
Object | toPropertyValue(String s)
Converts a string to a property value.
|
Parameters: arrayClass the array type elementConverter the value converter for the array elements.
Parameters: o the object.
Returns: the attribute value.
Throws: BeanException if there was an error during the conversion.
Parameters: s the string.
Returns: a property value.
Throws: BeanException if there was an error during the conversion.