org.springframework.ldap.support
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.support.ParseException
Parse a full Distinguished Name.

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

rdn

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

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


Copyright 2002-2006. All Rights Reserved.