Interface DnFactory
-
- All Known Implementing Classes:
DefaultDnFactory
public interface DnFactoryA factory for DNs, with a cache.- Author:
- Apache Directory Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Dncreate(String upDn)Creates a Dn form a user provided Dn.Dncreate(String... upRdns)Creates a Dn from user provided RDNs.
-
-
-
Method Detail
-
create
Dn create(String... upRdns) throws LdapInvalidDnException
Creates a Dn from user provided RDNs.- Parameters:
upRdns- the user provided RDNs- Returns:
- the created Dn
- Throws:
LdapInvalidDnException- if one of the strings isn't a valid Rdn
-
create
Dn create(String upDn) throws LdapInvalidDnException
Creates a Dn form a user provided Dn.- Parameters:
upDn- the user provided Dn- Returns:
- the created Dn
- Throws:
LdapInvalidDnException- if the string isn't a valid Dn
-
-