|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.report.util.beans.ArrayValueConverter
An ValueConverter that handles Arrays. Conversion to arrays is done using a CSV string.
| Constructor Summary | |
ArrayValueConverter(java.lang.Class arrayClass,
ValueConverter elementConverter)
Creates a new ArrayValueConverter for the given element type and array type. |
|
| Method Summary | |
java.lang.String |
toAttributeValue(java.lang.Object o)
Converts an object to an attribute value. |
java.lang.Object |
toPropertyValue(java.lang.String s)
Converts a string to a property value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ArrayValueConverter(java.lang.Class arrayClass,
ValueConverter elementConverter)
arrayClass - the array typeelementConverter - the value converter for the array elements.| Method Detail |
public java.lang.String toAttributeValue(java.lang.Object o)
throws BeanException
toAttributeValue in interface ValueConvertero - the object.
BeanException - if there was an error during the conversion.
public java.lang.Object toPropertyValue(java.lang.String s)
throws BeanException
toPropertyValue in interface ValueConverters - the string.
BeanException - if there was an error during the conversion.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||