Package org.ldaptive.filter
Class DefaultFilterFunction
- java.lang.Object
-
- org.ldaptive.filter.AbstractFilterFunction
-
- org.ldaptive.filter.DefaultFilterFunction
-
- All Implemented Interfaces:
FilterFunction
public class DefaultFilterFunction extends AbstractFilterFunction
Parses an LDAP search filter string.- Author:
- Middleware Services
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringDEFAULT_ATTRIBUTE_DESCRIPTION_CHARSLower and upper case ASCII alphabetical, digits, semi-colon, dot, dash.
-
Constructor Summary
Constructors Constructor Description DefaultFilterFunction()Default constructor.DefaultFilterFunction(java.lang.String validChars)Creates a new default filter function.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FilterparseFilterComp(java.lang.String filter)Inspects the supplied filter string and creates the type of filter it represents.-
Methods inherited from class org.ldaptive.filter.AbstractFilterFunction
parse
-
-
-
-
Field Detail
-
DEFAULT_ATTRIBUTE_DESCRIPTION_CHARS
protected static final java.lang.String DEFAULT_ATTRIBUTE_DESCRIPTION_CHARS
Lower and upper case ASCII alphabetical, digits, semi-colon, dot, dash.- See Also:
- Constant Field Values
-
-
Method Detail
-
parseFilterComp
protected Filter parseFilterComp(java.lang.String filter) throws FilterParseException
Description copied from class:AbstractFilterFunctionInspects the supplied filter string and creates the type of filter it represents.- Specified by:
parseFilterCompin classAbstractFilterFunction- Parameters:
filter- to inspect- Returns:
- search filter
- Throws:
FilterParseException- if filter is invalid
-
-