|
||||||||||
| 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.PresentFilter
public class PresentFilter
Object to store the filter. A filter is seen as a tree with a root.
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.shared.asn1.AbstractAsn1Object |
|---|
parent |
| Constructor Summary | |
|---|---|
PresentFilter()
The constructor. |
|
PresentFilter(int tlvId)
The constructor. |
|
| Method Summary | |
|---|---|
int |
computeLength()
Compute the PresentFilter length PresentFilter : 0x87 L1 present Length(PresentFilter) = Length(0x87) + Length(super.computeLength()) + super.computeLength() |
java.nio.ByteBuffer |
encode(java.nio.ByteBuffer buffer)
Encode the PresentFilter message to a PDU. |
java.lang.String |
getAttributeDescription()
Get the attribute |
void |
setAttributeDescription(java.lang.String attributeDescription)
Set the attributeDescription |
java.lang.String |
toString()
Return a string compliant with RFC 2254 representing a Present filter |
| 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 PresentFilter(int tlvId)
public PresentFilter()
| Method Detail |
|---|
public java.lang.String getAttributeDescription()
public void setAttributeDescription(java.lang.String attributeDescription)
attributeDescription - The attributeDescription to set.public int computeLength()
computeLength in interface Asn1ObjectcomputeLength in class AbstractAsn1Object
public java.nio.ByteBuffer encode(java.nio.ByteBuffer buffer)
throws EncoderException
encode in interface Asn1Objectencode in class AbstractAsn1Objectbuffer - The buffer where to put the PDU
EncoderExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||