Class ConnectorFilter
- java.lang.Object
-
- org.apache.directory.api.dsmlv2.request.Filter
-
- org.apache.directory.api.dsmlv2.request.ConnectorFilter
-
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
-
-
Constructor Summary
Constructors Constructor Description ConnectorFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFilter(Filter filter)
Add a new Filter to the list.List<Filter>
getFilterSet()
Get the list of filters stored in the composite filterString
toString()
Return a string compliant with RFC 2254 representing a composite filter, one of AND, OR and NOT
-
-
-
Constructor Detail
-
ConnectorFilter
public ConnectorFilter()
-
-
Method Detail
-
addFilter
public void addFilter(Filter filter) throws DecoderException
Add a new Filter to the list.- Parameters:
filter
- The filter to add- Throws:
DecoderException
- If the added filter is invalid
-
getFilterSet
public List<Filter> getFilterSet()
Get the list of filters stored in the composite filter- Returns:
- And array of filters
-
-