org.springframework.ldap.filter
Class AbstractFilter
java.lang.Object
org.springframework.ldap.filter.AbstractFilter
- All Implemented Interfaces:
- Filter
- Direct Known Subclasses:
- BinaryLogicalFilter, CompareFilter, NotFilter
public abstract class AbstractFilter
- extends java.lang.Object
- implements Filter
Convenience class that implements most of the methods in the Filter
interface.
- Author:
- Adam Skogman
Method Summary |
java.lang.String |
encode()
Encodes the filter to a String. |
abstract java.lang.StringBuffer |
encode(java.lang.StringBuffer buff)
Encodes the filter to a StringBuffer. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractFilter
protected AbstractFilter()
encode
public abstract java.lang.StringBuffer encode(java.lang.StringBuffer buff)
- Description copied from interface:
Filter
- Encodes the filter to a StringBuffer.
- Specified by:
encode
in interface Filter
- Parameters:
buff
- The StringBuffer to encode the filter to
- Returns:
- The same StringBuffer as was given
encode
public java.lang.String encode()
- Description copied from interface:
Filter
- Encodes the filter to a String.
- Specified by:
encode
in interface Filter
- Returns:
- The encoded filter in the standard String format
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright (c) 2005-2007. All Rights Reserved.