Class AlternativesStringFilter
java.lang.Object
ch.systemsx.cisd.common.shared.basic.string.AlternativesStringFilter
A filter for
String values. It supports:
- Alternatives (by ' ')
- Conjunction (by ' & ')
- Negation (by '!')
- Binding to start of value (by '^')
- Binding to end of value (by '$')
- Quoting by single ("'") and double ('"') quotes
- Escaping of special characters (by '\')
- Numerical comparisons (by '<', '>', '<=', '>=', '=')
Can be used from GWT code.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturnstrue, if the given value passes this filter.voidsetDateFilterValue(String value) voidsetFilterValue(String value) Sets a new filter value.voidsetFilterValue(String value, ch.systemsx.cisd.common.shared.basic.string.AlternativesStringFilter.IMatcherFactory factory)
-
Constructor Details
-
AlternativesStringFilter
public AlternativesStringFilter()
-
-
Method Details
-
setFilterValue
Sets a new filter value. -
setDateFilterValue
-
passes
Returnstrue, if the given value passes this filter.
-