org.livetribe.slp.spi.filter
Class FilterParser
java.lang.Object
org.livetribe.slp.spi.filter.FilterParser
public class FilterParser
- extends Object
A parser that parses a string with LDAPv3 syntax, and returns a Filter
that
is used to match Attributes
content.
This syntax is described in RFC 2254.
String comparisons are case insensitive.
Examples:
(a=10)
matches an attribute tag named a
with value 10
(&(a>10)(b=true))
matches a>10
and b=true
(|(a<=10)(b=true))
matches a<=10
or b=true
(!(a>=10))
matches a<10
(name=L*ve*b*)
matches name=LiveTribe
but also name=Loveboat
(foo=*)
matches the presence of the attribute tag named foo
- Version:
- $Rev:157 $ $Date:2006-06-05 23:29:25 +0200 (Mon, 05 Jun 2006) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterParser
public FilterParser()
parse
public Filter parse(String expression)
throws ServiceLocationException
- Throws:
ServiceLocationException
Copyright © 2006-2012 LiveTribe. All Rights Reserved.