org.springframework.ldap.filter

## Class AbstractFilter

- java.lang.Object
- - org.springframework.ldap.filter.AbstractFilter

- All Implemented Interfaces:
    Filter
  Direct Known Subclasses:
    AbsoluteFalseFilter, AbsoluteTrueFilter, BinaryLogicalFilter, CompareFilter, HardcodedFilter, NotFilter, NotPresentFilter, PresentFilter

      public abstract class AbstractFilter
      extends Object
      implements Filter

  Convenience class that implements most of the methods in the Filter interface.
  Author:
    Adam Skogman

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractFilter()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `encode()` Encodes the filter to a String.
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface org.springframework.ldap.filter.Filter

      `encode, equals, hashCode`

- - ### Constructor Detail

    - #### AbstractFilter

          public AbstractFilter()

  - ### Method Detail

    - #### encode

          public 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 String toString()

      Overrides:
        `toString` in class `Object`