|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.reporting.engine.classic.core.util.beans.CharacterValueConverter
public class CharacterValueConverter
A class that handles the conversion of Character attributes to and from their String representation.
| Constructor Summary | |
|---|---|
CharacterValueConverter()
Creates a new value converter. |
|
| Method Summary | |
|---|---|
String |
toAttributeValue(Object o)
Converts the attribute to a string. |
Object |
toPropertyValue(String s)
Converts a string to a Character. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CharacterValueConverter()
| Method Detail |
|---|
public String toAttributeValue(Object o)
throws BeanException
toAttributeValue in interface ValueConvertero - the attribute (Character expected).
Character value.
BeanException - if there was an error during the conversion.
public Object toPropertyValue(String s)
throws BeanException
Character.
toPropertyValue in interface ValueConverters - the string.
Character.
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 | |||||||||