org.springframework.ldap.core
Interface DnParser


public interface DnParser

A parser for RFC2253-compliant Distinguished Names.

Author:
Mattias Arthursson

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

Method Detail

dn

DistinguishedName dn()
                     throws org.springframework.ldap.core.ParseException
Parse a full Distinguished Name.

Returns:
the DistinguishedName corresponding to the parsed stream.
Throws:
org.springframework.ldap.core.ParseException

rdn

LdapRdn rdn()
            throws org.springframework.ldap.core.ParseException
Parse a Relative Distinguished Name.

Returns:
the next rdn on the stream.
Throws:
org.springframework.ldap.core.ParseException


Copyright � 2002-2006. All Rights Reserved.