| Package | Description |
|---|---|
| org.apache.wicket.util.convert |
Conversion support.
|
| org.apache.wicket.util.convert.converter |
Default converter implementations.
|
| org.apache.wicket.util.string |
String utilities.
|
| Modifier and Type | Method and Description |
|---|---|
ConversionException |
ConversionException.setConverter(IConverter<?> converter)
Sets the used converter.
|
ConversionException |
ConversionException.setFormat(Format format)
Sets the used format.
|
ConversionException |
ConversionException.setLocale(Locale locale)
Sets the used locale.
|
ConversionException |
ConversionException.setResourceKey(String resourceKey)
Set the resource key for the message that should be displayed.
|
ConversionException |
ConversionException.setSourceValue(Object sourceValue)
Sets the tried value.
|
ConversionException |
ConversionException.setTargetType(Class<?> targetType)
Sets the target property type.
|
ConversionException |
ConversionException.setVariable(String name,
Object value)
Sets a variable that will be used in substitution
|
| Modifier and Type | Method and Description |
|---|---|
C |
IConverter.convertToObject(String value,
Locale locale)
Converts the given
String value |
| Modifier and Type | Method and Description |
|---|---|
protected ConversionException |
AbstractConverter.newConversionException(String message,
Object value,
Locale locale)
Creates a conversion exception for throwing
|
| Modifier and Type | Class and Description |
|---|---|
class |
StringValueConversionException
Thrown when a string value cannot be converted to some type.
|
Copyright © 2006–2014 Apache Software Foundation. All rights reserved.