org.apache.directory.shared.ldap.filter
Interface FilterParser

All Known Implementing Classes:
FilterParserImpl

public interface FilterParser

Parses an LDAP Filter expression as specified by RFC 2255 into a filter expression tree.

Version:
$Rev: 434411 $
Author:
Apache Directory Project

Method Summary
 ExprNode parse(String a_filter)
          Parses a search filter string into a filter expression tree.
 void setFilterParserMonitor(FilterParserMonitor monitor)
          Sets the monitor for this filter parser.
 

Method Detail

parse

ExprNode parse(String a_filter)
               throws IOException,
                      ParseException
Parses a search filter string into a filter expression tree.

Parameters:
a_filter - the filter
Returns:
the root node of the filter expression tree
Throws:
IOException - if a pipe breaks
ParseException - if the input string does not conform to syntax

setFilterParserMonitor

void setFilterParserMonitor(FilterParserMonitor monitor)
Sets the monitor for this filter parser.

Parameters:
monitor - monitor that recieves parser events


Copyright © 2004-2012. All Rights Reserved.