netscape.ldap.client
Class JDAPFilterExtensible

java.lang.Object
  extended by netscape.ldap.client.JDAPFilter
      extended by netscape.ldap.client.JDAPFilterExtensible

public class JDAPFilterExtensible
extends JDAPFilter

This class implements the extended match filter.

 extensibleMatch [9] AttributeValueAssertion
 

Version:
1.0

Constructor Summary
JDAPFilterExtensible(java.lang.String type, java.lang.String match)
          Constructs extensible match filter.
 
Method Summary
 BERElement getBERElement()
          Gets ber representation of the filter.
 java.lang.String toString()
          Retrieves the string representation of the filter.
 
Methods inherited from class netscape.ldap.client.JDAPFilter
getFilter, getFilterComp, getFilterItem, getFilterList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JDAPFilterExtensible

public JDAPFilterExtensible(java.lang.String type,
                            java.lang.String match)
Constructs extensible match filter.

Parameters:
match - Matching rule assertion
Method Detail

getBERElement

public BERElement getBERElement()
Gets ber representation of the filter.
 Extended filter:   [type] [':dn'][':'oid]':='value

 BER:   extensibleMatch    [9] MatchingRuleAssertion
        MatchingRuleAssertion ::= SEQUENCE {
             matchingRule    [1] MatchingRuleID OPTIONAL,
             type            [2] AttributeDescription OPTIONAL,
             matchValue      [3] AssertionValue,
             dnAttributes    [4] BOOLEAN DEFAULT FALSE
        }
 

Specified by:
getBERElement in class JDAPFilter
Returns:
ber representation

toString

public java.lang.String toString()
Retrieves the string representation of the filter.

Specified by:
toString in class JDAPFilter
Returns:
string representation