org.springframework.ldap.core

## Interface DnParser

- All Known Implementing Classes:
    DnParserImpl

  Deprecated.
  `DistinguishedName` and associated classes are deprecated as of 2.0.

      public interface DnParser

  A parser for RFC2253-compliant Distinguished Names.
  Author:
    Mattias Hellborg Arthursson

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `DistinguishedName` | `dn()` Deprecated. Parse a full Distinguished Name.
    `LdapRdn` | `rdn()` Deprecated. Parse a Relative Distinguished Name.

- - ### Method Detail

    - #### dn

          DistinguishedName dn()
                        throws ParseException

      Deprecated.
      Parse a full Distinguished Name.
      Returns:
        the `DistinguishedName` corresponding to the parsed stream.
      Throws:
        `ParseException`

    - #### rdn

          LdapRdn rdn()
               throws ParseException

      Deprecated.
      Parse a Relative Distinguished Name.
      Returns:
        the next rdn on the stream.
      Throws:
        `ParseException`