|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 Filterencode in class AbstractFilterbuff - 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 | |||||||||