public abstract class Normalizer extends LoadableSchemaObject
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID
The mandatory serialVersionUID
|
description, extensions, h, isEnabled, isObsolete, locked, names, objectType, oid, schemaName, specification| Modifier | Constructor and Description |
|---|---|
protected |
Normalizer()
Use this default constructor when the Normalizer must be instantiated
before setting the OID.
|
protected |
Normalizer(String oid)
The Normalizer base constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
abstract String |
normalize(String value)
Gets the normalized value of AssertionValues.
|
abstract String |
normalize(String value,
PrepareString.AssertionType assertionType)
Gets the normalized value of a substring assertion.
|
void |
setSchemaManager(SchemaManager schemaManager)
Store the SchemaManager in this instance.
|
String |
toString() |
copy, getBytecode, getFqcn, hashCode, 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, unlockpublic static final long serialVersionUID
protected Normalizer(String oid)
oid - The associated OID. It's the element's MR OIDprotected Normalizer()
public abstract String normalize(String value) throws LdapException
value - the value to normalize. It must *not* be null !LdapException - if an error results during normalizationpublic abstract String normalize(String value, PrepareString.AssertionType assertionType) throws LdapException
value - the substring value to normalize. It must *not* be null !assertionType - The type of assertionLdapException - if an error results during normalizationpublic void setSchemaManager(SchemaManager schemaManager)
schemaManager - the schemaManager to storepublic boolean equals(Object o)
equals in interface SchemaObjectequals in class LoadableSchemaObjectCopyright © 2003–2019 The Apache Software Foundation. All rights reserved.