org.apache.directory.api.ldap.model.filter
Class FilterParser

java.lang.Object
  extended by org.apache.directory.api.ldap.model.filter.FilterParser

public class FilterParser
extends Object

This class parse a Ldap filter. The grammar is given in RFC 4515

Author:
Apache Directory Project

Constructor Summary
FilterParser()
          Creates a filter parser implementation.
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterParser

public FilterParser()
Creates a filter parser implementation.

Method Detail

parse

public static ExprNode parse(String filter)
                      throws ParseException
Throws:
ParseException
See Also:
parse(String)

parse

public static ExprNode parse(byte[] filter)
                      throws ParseException
Throws:
ParseException
See Also:
parse(String)

parse

public static ExprNode parse(SchemaManager schemaManager,
                             String filter)
                      throws ParseException
Throws:
ParseException
See Also:
parse(String)

parse

public static ExprNode parse(SchemaManager schemaManager,
                             byte[] filter)
                      throws ParseException
Throws:
ParseException
See Also:
parse(String)

parse

public static ExprNode parse(SchemaManager schemaManager,
                             String filter,
                             org.apache.directory.api.util.Position pos)
                      throws ParseException
Throws:
ParseException
See Also:
parse(String)


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.