public class DnComparator extends LdapComparator<Object>
| Modifier and Type | Field and Description |
|---|---|
private SchemaManager |
schemaManager
A reference to the schema manager
|
private static long |
serialVersionUID
The serial version UID
|
normalizerdescription, extensions, h, isEnabled, isObsolete, locked, names, objectType, oid, schemaName, specification| Constructor and Description |
|---|
DnComparator(String oid)
Creates a new instance of DnComparator.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object obj0,
Object obj1) |
int |
compare(String dn1,
String dn2)
Compare two String DNs
|
private Dn |
getDn(Object obj) |
void |
setSchemaManager(SchemaManager schemaManager)
Store the SchemaManager in this instance.
|
equals, getNormalizer, hashCode, toStringcopy, getBytecode, getFqcn, isValid, setBytecode, setFqcnaddExtension, addExtension, addName, clear, compareOid, computeHashCode, copy, getDescription, getExtension, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hasExtension, isDisabled, isEnabled, isObsolete, lock, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setSchemaName, setSpecification, unlockclone, finalize, getClass, notify, notifyAll, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongprivate static final long serialVersionUID
private transient SchemaManager schemaManager
public DnComparator(String oid)
oid - The Comparator's OIDpublic int compare(String dn1, String dn2)
dn1 - The first DNdn2 - The second DNprivate Dn getDn(Object obj) throws LdapInvalidDnException
LdapInvalidDnExceptionpublic void setSchemaManager(SchemaManager schemaManager)
setSchemaManager in class LdapComparator<Object>schemaManager - the schemaManager to storeCopyright © 2003–2019 The Apache Software Foundation. All rights reserved.