API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.naming.ldap. Rdn View Source
Author(s)
Since
1.5
Version
1.9 05/11/17
Serial
Hierarchy
 Object
      Rdn
Implements
 Serializable
 Comparable
Subclasses
Description
public class Rdn
  This class represents a relative distinguished name, or RDN, which is a component of a distinguished name as specified by RFC 2253.
See also:   
Constructors
pack-private Rdn ()
public Rdn (Attributes attrSet) throws InvalidNameException
  Constructs an Rdn from the given attribute set.
public Rdn (Rdn rdn)
  Constructs an Rdn from the given rdn.
public Rdn (String rdnString) throws InvalidNameException
  Constructs an Rdn from the given string.
public Rdn (String type, Object value) throws InvalidNameException
  Constructs an Rdn from the given attribute type and value.
Methods
Hide/Show inherited methods
public int compareTo (Object obj)
  Compares this Rdn with the specified Object for order.
public boolean equals (Object obj)
  Compares the specified Object with this Rdn for equality.
publicstatic String escapeValue (Object val)
  Given the value of an attribute, returns a string escaped according to the rules specified in RFC 2253.
public String getType ()
  Retrieves one of this Rdn's type.
public Object getValue ()
  Retrieves one of this Rdn's value.
public int hashCode ()
  Returns the hash code of this RDN.
pack-private Rdn put (String type, Object value)
public int size ()
  Retrieves the number of attribute type/value pairs in this Rdn.
pack-private void sort ()
public Attributes toAttributes ()
  Retrieves the Attributes view of the type/value mappings contained in this Rdn.
public String toString ()
  Returns this Rdn as a string represented in a format defined by RFC 2253 and described in the class description for LdapName.
publicstatic Object unescapeValue (String val)
  Given an attribute value string formated according to the rules specified in RFC 2253, returns the unformated value.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar