org.pf.directory.ldap
Class LDAPDirEntryFilter

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

public abstract class LDAPDirEntryFilter
extends java.lang.Object
implements IObjectFilter

Subclasses must override the method matches(LDAPDirEntry) in order to be useful.

Version:
1.0
Author:
M.Duchrow

Constructor Summary
LDAPDirEntryFilter()
          Initialize the new instance with default values.
 
Method Summary
abstract  boolean matches(LDAPDirEntry entry)
          Returns true if the given LDAP entry object matches this filter.
 boolean matches(java.lang.Object object)
          Calls matches(LDAPDirEntry) if the given object is of that type otherwise it returns false.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LDAPDirEntryFilter

public LDAPDirEntryFilter()
Initialize the new instance with default values.

Method Detail

matches

public boolean matches(java.lang.Object object)
Calls matches(LDAPDirEntry) if the given object is of that type otherwise it returns false.

Specified by:
matches in interface IObjectFilter
Parameters:
object - Any object or null

matches

public abstract boolean matches(LDAPDirEntry entry)
Returns true if the given LDAP entry object matches this filter.