|
||||||||||
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.ExtensibleMatchFilter
public class ExtensibleMatchFilter
The search request filter Matching Rule assertion
Field Summary |
---|
Fields inherited from class org.apache.directory.shared.asn1.AbstractAsn1Object |
---|
parent |
Constructor Summary | |
---|---|
ExtensibleMatchFilter()
Creates a new ExtensibleMatchFilter object. |
|
ExtensibleMatchFilter(int tlvId)
Creates a new ExtensibleMatchFilter object. |
Method Summary | |
---|---|
int |
computeLength()
Compute the ExtensibleMatchFilter length ExtensibleMatchFilter : 0xA9 L1 | [+--> 0x81 L3 matchingRule] [+--> 0x82 L4 type] [+--> 0x83 L5 matchValue] [+--> 0x01 0x01 dnAttributes] |
java.nio.ByteBuffer |
encode(java.nio.ByteBuffer buffer)
Encode the ExtensibleMatch Filters to a PDU. |
int |
getExpectedMatchingRuleLength()
get the expectedMatchingRuleLength |
java.lang.String |
getMatchingRule()
Get the matchingRule |
Value<?> |
getMatchValue()
Get the matchValue |
java.lang.String |
getType()
Get the type |
boolean |
isDnAttributes()
Get the dnAttributes flag |
void |
setDnAttributes(boolean dnAttributes)
Set the dnAttributes flag |
void |
setExpectedMatchingRuleLength(int expectedMatchingRuleLength)
Set the expectedMatchingRuleLength |
void |
setMatchingRule(java.lang.String matchingRule)
Set the matchingRule |
void |
setMatchValue(Value<?> matchValue)
Set the matchValue |
void |
setType(java.lang.String type)
Set the type |
java.lang.String |
toString()
Return a String representing an extended filter as of RFC 2254 |
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 ExtensibleMatchFilter(int tlvId)
public ExtensibleMatchFilter()
Method Detail |
---|
public boolean isDnAttributes()
public void setDnAttributes(boolean dnAttributes)
dnAttributes
- The dnAttributes to set.public java.lang.String getMatchingRule()
public void setMatchingRule(java.lang.String matchingRule)
matchingRule
- The matchingRule to set.public Value<?> getMatchValue()
public void setMatchValue(Value<?> matchValue)
matchValue
- The matchValue to set.public java.lang.String getType()
public void setType(java.lang.String type)
type
- The type to set.public int getExpectedMatchingRuleLength()
public void setExpectedMatchingRuleLength(int expectedMatchingRuleLength)
expectedMatchingRuleLength
- The expectedMatchingRuleLength to set.public int computeLength()
computeLength
in interface Asn1Object
computeLength
in class AbstractAsn1Object
public java.nio.ByteBuffer encode(java.nio.ByteBuffer buffer) throws EncoderException
encode
in interface Asn1Object
encode
in class AbstractAsn1Object
buffer
- The buffer where to put the PDU
EncoderException
- if the buffer can't be encodedpublic 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 |