|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TypeConversionException | |
org.jbeans | |
org.jbeans.converters |
Uses of TypeConversionException in org.jbeans |
Methods in org.jbeans that throw TypeConversionException | |
abstract void |
BaseBeanProperty.setPropertyValue(Object bean,
Object value,
boolean convert)
Sets the the property value. |
protected Object |
BaseBeanProperty.convertParameter(Object parameter,
Object bean)
Converts the given value parameter (parameter) to a type that is accepted by the set method of this property. |
void |
BeanProperty.setPropertyValue(Object bean,
Object value,
boolean convert)
Sets the value of the Java bean property to the given value |
void |
IndexedBeanProperty.setPropertyValue(Object bean,
int index,
Object value,
boolean convert)
Sets the value of the indexed JavaBean property at the given index with the given value |
Object |
BaseTypeConverter.convert(Object value,
Class convertTo)
If the convertTo class is an array, this method calls convertToArray passing it the value and the convertTo component type (by calling the getComponentType method of java.lang.Class). |
Object |
BaseTypeConverter.convertString(String value,
Class convertTo)
This method is usually the only method that needs to be overridden in sub-classes This is where a String value is converted to the correct type. |
Object |
BaseTypeConverter.convertArray(Object[] values,
Class convertTo)
If the convertTo type parameter is an array, this method calls the convertArrayToArray method with the parameters passed to this method. |
Object[] |
BaseTypeConverter.convertArrayToArray(Object[] values,
Class convertTo)
If the convertTo type is an array, this method uses the component type for the convertTo type. |
Object[] |
BaseTypeConverter.convertToArray(Object value,
Class convertTo)
If the value is an instanceof an array, then this method calls the convertArrayToArray method by casting the value to an Object array and passing the convertTo type. |
Object[] |
BaseTypeConverter.convertStringToArray(String value,
String delimiter,
Class convertTo)
If the delimiter parameter is not empty or null it is used. |
Object |
TypeConverter.convert(Object value,
Class convertTo)
Converts the given object to the given type. |
Object |
TypeConverter.convertString(String value,
Class convertTo)
Converts the given String to the given type. |
Object |
TypeConverter.convertArray(Object[] values,
Class convertTo)
Converts the given array to an object. |
Object[] |
TypeConverter.convertArrayToArray(Object[] values,
Class convertTo)
Converts the array to an array of the given type. |
Object[] |
TypeConverter.convertToArray(Object value,
Class convertTo)
Converts the given object to an array of objects of the given type. |
Object[] |
TypeConverter.convertStringToArray(String value,
String delimiter,
Class convertTo)
Converts the String to an array of objects of the given type (normally by using a StringTokenizer and converting each token to the correct type). |
Uses of TypeConversionException in org.jbeans.converters |
Methods in org.jbeans.converters that throw TypeConversionException | |
Object |
CharacterTypeConverter.convertString(String value,
Class convertTo)
Converts the string to the given type. |
Object |
NumberTypeConverter.convertString(String value,
Class convertTo)
Converts the string to the given type. |
Object |
BooleanTypeConverter.convertString(String value,
Class convertTo)
Converts the given string to a boolean. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |