org.apache.directory.api.dsmlv2.request
Class ConnectorFilter
java.lang.Object
org.apache.directory.api.dsmlv2.request.Filter
org.apache.directory.api.dsmlv2.request.ConnectorFilter
- Direct Known Subclasses:
- AndFilter, NotFilter, OrFilter
public abstract class ConnectorFilter
- extends Filter
This Filter abstract class is used to store a set of filters used by
OR/AND/NOT filters.
- Author:
- Apache Directory Project
| Fields inherited from class org.apache.directory.api.dsmlv2.request.Filter |
parent |
|
Method Summary |
void |
addFilter(Filter filter)
Add a new Filter to the list. |
List<Filter> |
getFilterSet()
Get the list of filters stored in the composite filter |
String |
toString()
Return a string compliant with RFC 2254 representing a composite filter,
one of AND, OR and NOT |
filterSet
protected List<Filter> filterSet
- The set of filters used by And/Or filters
ConnectorFilter
public ConnectorFilter()
addFilter
public void addFilter(Filter filter)
throws DecoderException
- Add a new Filter to the list.
- Parameters:
filter - The filter to add
- Throws:
DecoderException
getFilterSet
public List<Filter> getFilterSet()
- Get the list of filters stored in the composite filter
- Returns:
- And array of filters
toString
public String toString()
- Return a string compliant with RFC 2254 representing a composite filter,
one of AND, OR and NOT
- Overrides:
toString in class Object
- Returns:
- The composite filter string
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.