netscape.ldap.client

Class JDAPFilterExtensible


public class JDAPFilterExtensible
extends JDAPFilter

This class implements the extended match filter.
 extensibleMatch [9] AttributeValueAssertion
 
Version:
1.0

Constructor Summary

JDAPFilterExtensible(String type, String match)
Constructs extensible match filter.

Method Summary

BERElement
getBERElement()
Gets ber representation of the filter.
String
toString()
Retrieves the string representation of the filter.

Methods inherited from class netscape.ldap.client.JDAPFilter

getBERElement, getFilter, getFilterComp, getFilterItem, getFilterList, toString

Constructor Details

JDAPFilterExtensible

public JDAPFilterExtensible(String type,
                            String match)
Constructs extensible match filter.
Parameters:
match - Matching rule assertion

Method Details

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
        }
 
Overrides:
getBERElement in interface JDAPFilter
Returns:
ber representation

toString

public String toString()
Retrieves the string representation of the filter.
Overrides:
toString in interface JDAPFilter
Returns:
string representation