|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.ldap.codec.search.Filter
public abstract class Filter
An abstract Asn1Object used to store the filter. A filter is seen as a tree with a root. This class does nothing, it's just the root of all the different filters.
| Field Summary | |
|---|---|
protected Filter |
parent
The parent Filter |
protected int |
parentTlvId
The parent TLV id |
| Constructor Summary | |
|---|---|
Filter()
The constructor. |
|
Filter(int tlvId)
The constructor. |
|
| Method Summary | |
|---|---|
abstract int |
computeLength()
Compute the Filter length |
abstract ByteBuffer |
encode(ByteBuffer buffer)
Encode the Filter message to a PDU. |
Filter |
getParent()
Get the parent |
int |
getParentTlvId()
Get the parent |
int |
getTlvId()
|
void |
setParent(Filter parent,
int parentTlvId)
Set the parent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int parentTlvId
protected Filter parent
| Constructor Detail |
|---|
public Filter(int tlvId)
public Filter()
| Method Detail |
|---|
public Filter getParent()
public int getParentTlvId()
public void setParent(Filter parent,
int parentTlvId)
parent - The parent to set.public int getTlvId()
public abstract int computeLength()
public abstract ByteBuffer encode(ByteBuffer buffer)
throws EncoderException
buffer - The buffer where to put the PDU
EncoderException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||