|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.ldap.support.filter.AbstractFilter org.springframework.ldap.support.filter.NotFilter
A filter for 'not'. The following code:
Filter filter = new NotFilter(new EqualsFilter("cn", "foo"); System.out.println(filter.ecode());would result in:
(!(cn=foo))
Constructor Summary | |
NotFilter(Filter filter)
Create a filter that negates the outcome of the given filter . |
Method Summary | |
java.lang.StringBuffer |
encode(java.lang.StringBuffer buff)
Prints the query with LDAP encoding to a stringbuffer |
boolean |
equals(java.lang.Object o)
Compares key and value before encoding |
int |
hashCode()
hash attribute and value |
Methods inherited from class org.springframework.ldap.support.filter.AbstractFilter |
encode, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NotFilter(Filter filter)
filter
.
filter
- The filter that should be negated.Method Detail |
public java.lang.StringBuffer encode(java.lang.StringBuffer buff)
AbstractFilter
encode
in interface Filter
encode
in class AbstractFilter
buff
- The stringbuffer
Filter.encode(java.lang.StringBuffer)
public boolean equals(java.lang.Object o)
Filter.equals(java.lang.Object)
public int hashCode()
Filter.hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |