public class NumberFilterHandler<V extends Number> extends FilterHandler<V>
FilterHandler that provides support for Number values
and uses a property editor to convert a string representation to a number.| Constructor and Description |
|---|
NumberFilterHandler(NumberPropertyEditor<V> propertyEditor)
Creates a number filter handler that uses the given property editor to
convert a string representation to a number.
|
| Modifier and Type | Method and Description |
|---|---|
V |
convertToObject(String value)
Converts a filter value in string representation to native representation.
|
String |
convertToString(V object)
Converts a filter value in native representation to string representation.
|
public NumberFilterHandler(NumberPropertyEditor<V> propertyEditor)
propertyEditor - the property editor to use to do the conversionpublic V convertToObject(String value)
FilterHandlerconvertToObject in class FilterHandler<V extends Number>value - the string representation of the filter valuepublic String convertToString(V object)
FilterHandlerconvertToString in class FilterHandler<V extends Number>object - the native representation of the filter valueCopyright © 2012. All Rights Reserved.