Package org.openbravo.base.filter
Interface RequestFilter
-
- All Known Implementing Classes:
IsIDFilter
,IsPositiveIntFilter
,NumberFilter
,RegexFilter
,ValueListFilter
public interface RequestFilter
Defines the interface to a request filter, which is a class used to filter an input value against some definition of allowed values.- Author:
- huehner
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accept(String value)
Function to check, if an input value is accepted by a filter.
-
-
-
Method Detail
-
accept
boolean accept(String value)
Function to check, if an input value is accepted by a filter.- Parameters:
value
- input value which should be checked- Returns:
- true, if the filter does accept the value
-
-