|
Spring LDAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.ldap.filter.AbstractFilter org.springframework.ldap.filter.BinaryLogicalFilter
public abstract class BinaryLogicalFilter
Abstract superclass for binary logical operations, that is "AND" and "OR" operations.
Field Summary | |
---|---|
protected List |
queryList
|
Constructor Summary | |
---|---|
BinaryLogicalFilter()
|
Method Summary | |
---|---|
BinaryLogicalFilter |
append(Filter query)
Add a query to this logical operation. |
StringBuffer |
encode(StringBuffer buff)
Encodes the filter to a StringBuffer. |
boolean |
equals(Object obj)
Compares each filter in turn. |
protected abstract String |
getLogicalOperator()
Implement this in subclass to return the logical operator, for example &qout;&&qout;. |
int |
hashCode()
Hashes all contained data. |
Methods inherited from class org.springframework.ldap.filter.AbstractFilter |
---|
encode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected List queryList
Constructor Detail |
---|
public BinaryLogicalFilter()
Method Detail |
---|
public StringBuffer encode(StringBuffer buff)
Filter
encode
in interface Filter
encode
in class AbstractFilter
buff
- The StringBuffer to encode the filter to
protected abstract String getLogicalOperator()
public boolean equals(Object obj)
equals
in interface Filter
equals
in class Object
true
if the objects are equal.Filter.equals(java.lang.Object)
public int hashCode()
hashCode
in interface Filter
hashCode
in class Object
Object.hashCode()
Filter.hashCode()
public final BinaryLogicalFilter append(Filter query)
query
- the query to add.
|
Spring LDAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |