Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.jfree.report.util.beans.ArrayValueConverter
Constructor Summary | |
|
Method Summary | |
String |
|
Object |
|
public ArrayValueConverter(Class arrayClass, ValueConverter elementConverter)
Creates a new ArrayValueConverter for the given element type and array type.
- Parameters:
arrayClass
- the array typeelementConverter
- the value converter for the array elements.
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.
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.