src/share/classes/javax/naming/ldap/LdapName.java

Print this page

        

*** 40,50 **** import java.io.ObjectInputStream; import java.io.IOException; /** * This class represents a distinguished name as specified by ! * <a href="http://ietf.org//rfc/rfc2253.txt">RFC 2253</a>. * A distinguished name, or DN, is composed of an ordered list of * components called <em>relative distinguished name</em>s, or RDNs. * Details of a DN's syntax are described in RFC 2253. *<p> * This class resolves a few ambiguities found in RFC 2253 --- 40,50 ---- import java.io.ObjectInputStream; import java.io.IOException; /** * This class represents a distinguished name as specified by ! * <a href="http://www.ietf.org/rfc/rfc2253.txt">RFC 2253</a>. * A distinguished name, or DN, is composed of an ordered list of * components called <em>relative distinguished name</em>s, or RDNs. * Details of a DN's syntax are described in RFC 2253. *<p> * This class resolves a few ambiguities found in RFC 2253
*** 113,123 **** /** * Constructs an LDAP name from the given distinguished name. * * @param name This is a non-null distinguished name formatted * according to the rules defined in ! * <a href="http://ietf.org/rfc/rfc2253.txt">RFC 2253</a>. * * @throws InvalidNameException if a syntax violation is detected. * @see Rdn#escapeValue(Object value) */ public LdapName(String name) throws InvalidNameException { --- 113,123 ---- /** * Constructs an LDAP name from the given distinguished name. * * @param name This is a non-null distinguished name formatted * according to the rules defined in ! * <a href="http://www.ietf.org/rfc/rfc2253.txt">RFC 2253</a>. * * @throws InvalidNameException if a syntax violation is detected. * @see Rdn#escapeValue(Object value) */ public LdapName(String name) throws InvalidNameException {
*** 612,622 **** return new LdapName(unparsed, rdns, 0, rdns.size()); } /** * Returns a string representation of this LDAP name in a format ! * defined by <a href="http://ietf.org/rfc/rfc2253.txt">RFC 2253</a> * and described in the class description. If the name has zero * components an empty string is returned. * * @return The string representation of the LdapName. */ --- 612,622 ---- return new LdapName(unparsed, rdns, 0, rdns.size()); } /** * Returns a string representation of this LDAP name in a format ! * defined by <a href="http://www.ietf.org/rfc/rfc2253.txt">RFC 2253</a> * and described in the class description. If the name has zero * components an empty string is returned. * * @return The string representation of the LdapName. */