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