public class FilterExpressionCorrector extends Object
You can apply the corrections you want, in the desired order. The available jobs are listed in the enum FilterJobs.
Example: FilterExpressionCorrector.correctFilter(filterValue,
FilterJobs.JOB1, FilterJobs.JOB2);
Modifier and Type | Class and Description |
---|---|
static class |
FilterExpressionCorrector.FilterJobs
Enumeration of the available jobs
|
Constructor and Description |
---|
FilterExpressionCorrector() |
Modifier and Type | Method and Description |
---|---|
static String |
correctFilter(String filterExpression,
FilterExpressionCorrector.FilterJobs... jobs)
Apply the chosen Correctors to the filter expression
|
public static String correctFilter(String filterExpression, FilterExpressionCorrector.FilterJobs... jobs)
filterExpression
- The filter expression to correctjobs
- List of the jobs you want to apply.Copyright © 2012 Nuxeo SA. All Rights Reserved.