|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.api.ldap.model.schema.AbstractSchemaObject
org.apache.directory.api.ldap.model.schema.LoadableSchemaObject
org.apache.directory.api.ldap.model.schema.Normalizer
public abstract class Normalizer
Converts attribute values to a canonical form.
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.api.ldap.model.schema.AbstractSchemaObject |
|---|
description, extensions, isEnabled, isObsolete, isReadOnly, locked, names, objectType, oid, schemaName, specification |
| Constructor Summary | |
|---|---|
protected |
Normalizer()
Use this default constructor when the Normalizer must be instantiated before setting the OID. |
protected |
Normalizer(String oid)
The Normalizer base constructor. |
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class org.apache.directory.api.ldap.model.schema.LoadableSchemaObject |
|---|
copy, getBytecode, getFqcn, isValid, setBytecode, setFqcn |
| Methods inherited from class org.apache.directory.api.ldap.model.schema.AbstractSchemaObject |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected Normalizer(String oid)
oid - The associated OID. It's the element's MR OIDprotected Normalizer()
| Method Detail |
|---|
public abstract Value<?> normalize(Value<?> value)
throws LdapException
value - the value to normalize. It must *not* be null !
LdapException - if an error results during normalization
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 void setSchemaManager(SchemaManager schemaManager)
schemaManager - the schemaManager to storepublic boolean equals(Object o)
equals in interface SchemaObjectequals in class LoadableSchemaObjectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||