public class NotFilter extends ConnectorFilter
Constructor and Description |
---|
NotFilter() |
Modifier and Type | Method and Description |
---|---|
void |
addFilter(Filter filter)
Subclass the addFilterMethod, as this is specific for a NotFilter (we
cannot have more than one elements).
|
Filter |
getNotFilter()
Get the NotFilter
|
void |
setNotFilter(Filter notFilter)
Set the NotFilter
|
String |
toString()
Return a string compliant with RFC 2254 representing a NOT filter
|
getFilterSet
public NotFilter()
public void addFilter(Filter filter) throws DecoderException
addFilter
in class ConnectorFilter
filter
- The Filter to addDecoderException
- If the added filter is invalidpublic Filter getNotFilter()
public void setNotFilter(Filter notFilter) throws DecoderException
notFilter
- The notFilter to set.DecoderException
- If the filter is invalidpublic String toString()
toString
in class ConnectorFilter
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.