|
||||||||||
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.ExtensibleMatchFilter
public class ExtensibleMatchFilter
The search request filter Matching Rule assertion
Field Summary |
---|
Fields inherited from class org.apache.directory.shared.asn1.Asn1Object |
---|
parent |
Constructor Summary | |
---|---|
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] |
ByteBuffer |
encode(ByteBuffer buffer)
Encode the ExtensibleMatch Filters to a PDU. |
int |
getExpectedMatchingRuleLength()
get the expectedMatchingRuleLength |
String |
getMatchingRule()
Get the matchingRule |
Object |
getMatchValue()
Get the matchValue |
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(String matchingRule)
Set the matchingRule |
void |
setMatchValue(Object matchValue)
Set the matchValue |
void |
setType(String type)
Set the type |
String |
toString()
Return a String representing an extended filter as of RFC 2254 |
Methods inherited from class org.apache.directory.shared.asn1.Asn1Object |
---|
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)
Method Detail |
---|
public boolean isDnAttributes()
public void setDnAttributes(boolean dnAttributes)
dnAttributes
- The dnAttributes to set.public String getMatchingRule()
public void setMatchingRule(String matchingRule)
matchingRule
- The matchingRule to set.public Object getMatchValue()
public void setMatchValue(Object matchValue)
matchValue
- The matchValue to set.public String getType()
public void setType(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 class Asn1Object
public ByteBuffer encode(ByteBuffer buffer) throws EncoderException
encode
in class Asn1Object
buffer
- The buffer where to put the PDU
EncoderException
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |