Spring LDAP

org.springframework.ldap.core
Interface DnParser

All Known Implementing Classes:
DnParserImpl

public interface DnParser

A parser for RFC2253-compliant Distinguished Names.

Author:
Mattias Hellborg Arthursson

Method Summary
 DistinguishedName dn()
          Parse a full Distinguished Name.
 LdapRdn rdn()
          Parse a Relative Distinguished Name.
 

Method Detail

dn

DistinguishedName dn()
                     throws ParseException
Parse a full Distinguished Name.

Returns:
the DistinguishedName corresponding to the parsed stream.
Throws:
ParseException

rdn

LdapRdn rdn()
            throws ParseException
Parse a Relative Distinguished Name.

Returns:
the next rdn on the stream.
Throws:
ParseException

Spring LDAP