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, setFqcn
addExtension, addExtension, addName, clear, compareOid, copy, getDescription, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hashCode, isDisabled, isEnabled, isObsolete, isReadOnly, lock, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setReadOnly, setSchemaName, setSpecification, unlock
public 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 SchemaObject
equals
in class LoadableSchemaObject
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.