|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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 java.util.List |
queryList
|
Constructor Summary | |
---|---|
BinaryLogicalFilter()
|
Method Summary | |
---|---|
BinaryLogicalFilter |
append(Filter query)
Add a query to this logical operation. |
java.lang.StringBuffer |
encode(java.lang.StringBuffer buff)
Encodes the filter to a StringBuffer. |
boolean |
equals(java.lang.Object obj)
Compares each filter in turn. |
protected abstract java.lang.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 java.util.List queryList
Constructor Detail |
---|
public BinaryLogicalFilter()
Method Detail |
---|
public java.lang.StringBuffer encode(java.lang.StringBuffer buff)
Filter
encode
in interface Filter
encode
in class AbstractFilter
buff
- The StringBuffer to encode the filter to
protected abstract java.lang.String getLogicalOperator()
public boolean equals(java.lang.Object obj)
equals
in interface Filter
equals
in class java.lang.Object
true
if the objects are equal.Filter.equals(java.lang.Object)
public int hashCode()
hashCode
in interface Filter
hashCode
in class java.lang.Object
Object.hashCode()
Filter.hashCode()
public final BinaryLogicalFilter append(Filter query)
query
- the query to add.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |