org.apache.directory.shared.ldap.filter
Class FilterParserImpl

java.lang.Object
  extended byorg.apache.directory.shared.ldap.filter.FilterParserImpl
All Implemented Interfaces:
FilterParser

public class FilterParserImpl
extends java.lang.Object
implements FilterParser


Constructor Summary
FilterParserImpl()
          Creates a filter parser implementation.
 
Method Summary
 ExprNode parse(java.lang.String filter)
          Parses a search filter string into a filter expression tree.
 void setFilterParserMonitor(FilterParserMonitor monitor)
          Sets the monitor for this filter parser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterParserImpl

public FilterParserImpl()
Creates a filter parser implementation.

Method Detail

parse

public ExprNode parse(java.lang.String filter)
               throws java.text.ParseException,
                      java.io.IOException
Description copied from interface: FilterParser
Parses a search filter string into a filter expression tree.

Specified by:
parse in interface FilterParser
Parameters:
filter - the filter
Returns:
the root node of the filter expression tree
Throws:
java.text.ParseException - if the input string does not conform to syntax
java.io.IOException - if a pipe breaks

setFilterParserMonitor

public void setFilterParserMonitor(FilterParserMonitor monitor)
Description copied from interface: FilterParser
Sets the monitor for this filter parser.

Specified by:
setFilterParserMonitor in interface FilterParser
Parameters:
monitor - monitor that recieves parser events


Copyright © 2003-2006 . All Rights Reserved.