org.apache.directory.shared.ldap.name
Class ComplexDnParser
java.lang.Object
org.apache.directory.shared.ldap.name.ComplexDnParser
public class ComplexDnParser
- extends Object
A DN parser that is able to parse complex DNs. This is an Antlr based parser.
- Version:
- $Rev: 664290 $, $Date: 2008-06-07 08:28:06 +0200 (Sa, 07 Jun 2008) $
- Author:
- Apache Directory Project
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComplexDnParser
public ComplexDnParser()
parseDn
public void parseDn(String name,
List<RDN> rdns)
throws InvalidNameException
- Parses an DN.
- Parameters:
name - the string representation of the distinguished namerdns - the (empty) list where parsed RDNs are put to
- Throws:
InvalidNameException - the invalid name exception
parseRdn
public void parseRdn(String name,
RDN rdn)
throws InvalidNameException
- Parses an RDN.
- Parameters:
name - the string representationof the relative distinguished namerdn - the (empty) RDN where parsed ATAVs are put to
- Throws:
InvalidNameException - the invalid name exception
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.