public class DeepTrimToLowerCachingNormalizingComparator extends LdapComparator<String>
description, extensions, isEnabled, isObsolete, isReadOnly, locked, names, objectType, oid, schemaName, specification
Constructor and Description |
---|
DeepTrimToLowerCachingNormalizingComparator(String oid) |
Modifier and Type | Method and Description |
---|---|
int |
compare(String o1,
String o2)
If any normalization attempt fails we compare using the unnormalized
object.
|
void |
setOid(String oid)
Makes sure we update the oid property of the contained normalizer and
comparator.
|
void |
setSchemaManager(SchemaManager schemaManager)
Store the SchemaManager in this instance.
|
equals, toString
copy, getBytecode, getFqcn, isValid, registerOid, setBytecode, setFqcn
addExtension, addName, addToRegistries, clear, compareOid, copy, getDescription, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hashCode, isDisabled, isEnabled, isObsolete, isReadOnly, lock, removeFromRegistries, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setReadOnly, setRegistries, setSchemaName, setSpecification
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public DeepTrimToLowerCachingNormalizingComparator(String oid)
public void setSchemaManager(SchemaManager schemaManager)
setSchemaManager
in class LdapComparator<String>
schemaManager
- the schemaManager to storepublic int compare(String o1, String o2)
Comparator.compare(Object, Object)
public void setOid(String oid)
setOid
in interface SchemaObject
setOid
in class AbstractSchemaObject
oid
- the object identifierCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.