|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.asn1.Asn1Object
org.apache.directory.shared.ldap.codec.search.Filter
org.apache.directory.shared.ldap.codec.search.ConnectorFilter
org.apache.directory.shared.ldap.codec.search.NotFilter
Not Filter Object to store the Not 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.Asn1Object |
parent |
Constructor Summary | |
NotFilter()
The constructor. |
Method Summary | |
void |
addFilter(Filter filter)
Subclass the addFilterMethod, as this is specific for a NotFilter (we cannot have more than one elements). |
int |
computeLength()
Compute the NotFilter length NotFilter : 0xA2 L1 super.computeLength() Length(NotFilter) = Length(0xA2) + Length(super.computeLength()) + super.computeLength() |
java.nio.ByteBuffer |
encode(java.nio.ByteBuffer buffer)
Encode the NotFilter message to a PDU. |
Filter |
getNotFilter()
Get the NotFilter |
void |
setNotFilter(Filter notFilter)
Set the NotFilter |
java.lang.String |
toString()
Return a string compliant with RFC 2254 representing a NOT filter |
Methods inherited from class org.apache.directory.shared.ldap.codec.search.ConnectorFilter |
getFilterSet |
Methods inherited from class org.apache.directory.shared.asn1.Asn1Object |
addLength, getCurrentLength, getExpectedLength, getParent, setCurrentLength, setExpectedLength, setParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NotFilter()
Method Detail |
public void addFilter(Filter filter) throws org.apache.directory.shared.asn1.codec.DecoderException
addFilter
in class ConnectorFilter
filter
- The Filter to add
org.apache.directory.shared.asn1.codec.DecoderException
public Filter getNotFilter()
public void setNotFilter(Filter notFilter) throws org.apache.directory.shared.asn1.codec.DecoderException
notFilter
- The notFilter to set.
org.apache.directory.shared.asn1.codec.DecoderException
public int computeLength()
computeLength
in class ConnectorFilter
public java.nio.ByteBuffer encode(java.nio.ByteBuffer buffer) throws org.apache.directory.shared.asn1.codec.EncoderException
encode
in class ConnectorFilter
buffer
- The buffer where to put the PDU
org.apache.directory.shared.asn1.codec.EncoderException
public java.lang.String toString()
toString
in class ConnectorFilter
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |