public abstract class Normalizer extends LoadableSchemaObject
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, 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, setOid, setReadOnly, setRegistries, setSchemaName, setSpecification
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.