public abstract class Normalizer extends LoadableSchemaObject
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID
The mandatory serialVersionUID
|
description, extensions, isEnabled, isObsolete, isReadOnly, 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.
|
abstract Value<?> |
normalize(Value<?> value)
Gets the normalized value.
|
void |
setSchemaManager(SchemaManager schemaManager)
Store the SchemaManager in this instance.
|
String |
toString() |
copy, getBytecode, getFqcn, isValid, setBytecode, setFqcnaddExtension, addExtension, addName, clear, compareOid, copy, getDescription, getExtension, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hasExtension, hashCode, isDisabled, isEnabled, isObsolete, isReadOnly, lock, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setReadOnly, 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 Value<?> normalize(Value<?> 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) throws LdapException
value - the value to normalize. It must *not* be null !LdapException - 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–2016 The Apache Software Foundation. All rights reserved.