public final class FilterParser extends Object
| Modifier and Type | Method and Description |
|---|---|
static ExprNode |
parse(byte[] filter) |
static ExprNode |
parse(SchemaManager schemaManager,
byte[] filter) |
static ExprNode |
parse(SchemaManager schemaManager,
String filter) |
static ExprNode |
parse(SchemaManager schemaManager,
String filter,
org.apache.directory.api.util.Position pos) |
static ExprNode |
parse(String filter)
Parses a search filter from it's string representation to an expression node object.
|
static ExprNode |
parse(String filter,
boolean relaxed)
Parses a search filter from it's string representation to an expression node object.
|
public static ExprNode parse(String filter) throws ParseException
filter - the search filter in it's string representationParseExceptionpublic static ExprNode parse(byte[] filter) throws ParseException
ParseExceptionparse(String)public static ExprNode parse(SchemaManager schemaManager, String filter) throws ParseException
ParseExceptionparse(String)public static ExprNode parse(SchemaManager schemaManager, byte[] filter) throws ParseException
ParseExceptionparse(String)public static ExprNode parse(SchemaManager schemaManager, String filter, org.apache.directory.api.util.Position pos) throws ParseException
ParseExceptionparse(String)public static ExprNode parse(String filter, boolean relaxed) throws ParseException
relaxed mode the filter may violate RFC 4515, e.g. the underscore in attribute names is allowed.filter - the search filter in it's string representationrelaxed - true to parse the filter in relaxed modeParseExceptionCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.