Package org.ldaptive.filter
Class NotFilter
- java.lang.Object
-
- org.ldaptive.filter.NotFilter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ldaptive.filter.Filter
Filter.Type
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Filter component)
Adds a search filter to this set.boolean
equals(java.lang.Object o)
DEREncoder
getEncoder()
Returns the encoder for this filter.Filter.Type
getType()
Returns the type of filter set.int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
NotFilter
public NotFilter()
Default constructor.
-
NotFilter
public NotFilter(Filter component)
Creates a new not filter.- Parameters:
component
- of this filter
-
-
Method Detail
-
getType
public Filter.Type getType()
Description copied from interface:FilterSet
Returns the type of filter set.
-
add
public void add(Filter component)
Description copied from interface:FilterSet
Adds a search filter to this set.
-
getEncoder
public DEREncoder getEncoder()
Description copied from interface:Filter
Returns the encoder for this filter.- Specified by:
getEncoder
in interfaceFilter
- Returns:
- DER encoder
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-