|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.asn1.AbstractAsn1Object
org.apache.directory.shared.ldap.codec.search.Filter
org.apache.directory.shared.ldap.codec.search.ConnectorFilter
org.apache.directory.shared.ldap.codec.search.AndFilter
public class AndFilter
And Filter Object to store the And filter.
Field Summary |
---|
Fields inherited from class org.apache.directory.shared.ldap.codec.search.ConnectorFilter |
---|
filterSet, filtersLength |
Fields inherited from class org.apache.directory.shared.asn1.AbstractAsn1Object |
---|
parent |
Constructor Summary | |
---|---|
AndFilter()
The constructor. |
|
AndFilter(int tlvId)
The constructor. |
Method Summary | |
---|---|
int |
computeLength()
Compute the AndFilter length AndFilter : 0xA0 L1 super.computeLength() Length(AndFilter) = Length(0xA0) + Length(super.computeLength()) + super.computeLength() |
java.nio.ByteBuffer |
encode(java.nio.ByteBuffer buffer)
Encode the AndFilter message to a PDU. |
java.util.List<Filter> |
getAndFilter()
Get the AndFilter. |
java.lang.String |
toString()
Return a string compliant with RFC 2254 representing an AND filter |
Methods inherited from class org.apache.directory.shared.ldap.codec.search.ConnectorFilter |
---|
addFilter, getFilterSet |
Methods inherited from class org.apache.directory.shared.asn1.AbstractAsn1Object |
---|
addLength, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AndFilter(int tlvId)
public AndFilter()
Method Detail |
---|
public java.util.List<Filter> getAndFilter()
public int computeLength()
computeLength
in interface Asn1Object
computeLength
in class ConnectorFilter
public java.nio.ByteBuffer encode(java.nio.ByteBuffer buffer) throws EncoderException
encode
in interface Asn1Object
encode
in class ConnectorFilter
buffer
- The buffer where to put the PDU
EncoderException
- if the buffer can't be encodedpublic java.lang.String toString()
toString
in class ConnectorFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |