org.pf.directory.ldap
Class RDNFilter

java.lang.Object
  extended by org.pf.directory.ldap.LDAPDirEntryFilter
      extended by org.pf.directory.ldap.RDNFilter
All Implemented Interfaces:
IObjectFilter

public class RDNFilter
extends LDAPDirEntryFilter

Special filter that can be used to lookup an LDAP entry by its Relative Distinguished Name (RDN).

Version:
1.0
Author:
M.Duchrow

Constructor Summary
RDNFilter(DistinguishedNameElement rdn)
          Initialize the new instance with default values.
 
Method Summary
 boolean matches(LDAPDirEntry entry)
          Returns true if the given entry has the same RDN as this filter
 
Methods inherited from class org.pf.directory.ldap.LDAPDirEntryFilter
matches
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RDNFilter

public RDNFilter(DistinguishedNameElement rdn)
Initialize the new instance with default values.

Method Detail

matches

public boolean matches(LDAPDirEntry entry)
Returns true if the given entry has the same RDN as this filter

Specified by:
matches in class LDAPDirEntryFilter