public class DnComparator extends LdapComparator<Object>
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
|
void |
setSchemaManager(SchemaManager schemaManager)
Store the SchemaManager in this instance.
|
equals, getNormalizer, hashCode, toString
copy, getBytecode, getFqcn, isValid, setBytecode, setFqcn
addExtension, addExtension, addName, clear, copy, getDescription, getExtension, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hasExtension, isDisabled, isEnabled, isObsolete, lock, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setSchemaName, setSpecification, unlock
comparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public DnComparator(String oid)
oid
- The Comparator's OIDpublic int compare(String dn1, String dn2)
dn1
- The first DNdn2
- The second DNpublic void setSchemaManager(SchemaManager schemaManager)
setSchemaManager
in class LdapComparator<Object>
schemaManager
- the schemaManager to storeCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.