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: 379008 $
Author:
Apache Directory Project

Method Summary
 ExprNode parse(java.lang.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

public ExprNode parse(java.lang.String a_filter)
               throws java.io.IOException,
                      java.text.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:
java.io.IOException - if a pipe breaks
java.text.ParseException - if the input string does not conform to syntax

setFilterParserMonitor

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

Parameters:
monitor - monitor that recieves parser events


Copyright © 2003-2006 . All Rights Reserved.