com.sencha.gxt.data.shared.loader
Class FilterHandler<T>
java.lang.Object
com.sencha.gxt.data.shared.loader.FilterHandler<T>
- Type Parameters:
T - the type of the filter value
- Direct Known Subclasses:
- BooleanFilterHandler, DateFilterHandler, NumberFilterHandler, StringFilterHandler
public abstract class FilterHandler<T>
- extends Object
Abstract base class for all filter handlers. It provides methods to convert
filter values between native and string representations.
|
Method Summary |
abstract T |
convertToObject(String value)
Converts a filter value in string representation to native representation. |
abstract String |
convertToString(T object)
Converts a filter value in native representation to string representation. |
FilterHandler
public FilterHandler()
convertToObject
public abstract T convertToObject(String value)
- Converts a filter value in string representation to native representation.
- Parameters:
value - the string representation of the filter value
- Returns:
- the native representation of the filter value
convertToString
public abstract String convertToString(T object)
- Converts a filter value in native representation to string representation.
- Parameters:
object - the native representation of the filter value
- Returns:
- the string representation of the filter value
Copyright © 2012. All Rights Reserved.