org.treebind
Class LdapName

java.lang.Object
  extended byorg.treebind.DefaultNameImplementation
      extended byorg.treebind.LdapName
All Implemented Interfaces:
Name

public class LdapName
extends DefaultNameImplementation
implements Name

Name implementation representing LDAP class and property names. Except for a few builtin types which use a specific domain name to distinguish them, Ldap names have no domain names.

Author:
Eric van der Vlist
See Also:
Name

Field Summary
static java.lang.String BUILTIN
          The domain name of the builtin LDAP names.
static LdapName DN
          Builtin name for LDAP DNs.
static LdapName ENTRY
          Builtin name for LDAP entries.
static Name LDIF
          Builtin name for LDIF documents.
static Name LDIFRECORD
          Builtin name for LDIF records.
static LdapName SEARCHRESULTS
          Builtin name for LDAP search results.
 
Constructor Summary
LdapName(java.lang.String name)
          Creates an LDAP name from its local name.
 
Method Summary
 boolean equals(Name name)
          Test if two names are equal.
 
Methods inherited from class org.treebind.DefaultNameImplementation
getDomainName, getFullName, getLocalName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.treebind.Name
getDomainName, getFullName, getLocalName
 

Field Detail

BUILTIN

public static java.lang.String BUILTIN
The domain name of the builtin LDAP names.


DN

public static LdapName DN
Builtin name for LDAP DNs.


ENTRY

public static LdapName ENTRY
Builtin name for LDAP entries.


LDIF

public static final Name LDIF
Builtin name for LDIF documents.


LDIFRECORD

public static Name LDIFRECORD
Builtin name for LDIF records.


SEARCHRESULTS

public static LdapName SEARCHRESULTS
Builtin name for LDAP search results.

Constructor Detail

LdapName

public LdapName(java.lang.String name)
Creates an LDAP name from its local name.

Parameters:
name - the local name.
Method Detail

equals

public boolean equals(Name name)
Description copied from interface: Name
Test if two names are equal.

Specified by:
equals in interface Name
Overrides:
equals in class DefaultNameImplementation