public class DeepTrimCachingNormalizingComparator extends LdapComparator<String>
description, extensions, isEnabled, isObsolete, isReadOnly, locked, names, objectType, oid, schemaName, specification
Constructor and Description |
---|
DeepTrimCachingNormalizingComparator(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.
|
equals, setSchemaManager, 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
public DeepTrimCachingNormalizingComparator(String oid)
public 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-2013 The Apache Software Foundation. All Rights Reserved.