|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.schema.AbstractSchemaObject
org.apache.directory.shared.ldap.schema.LoadableSchemaObject
org.apache.directory.shared.ldap.schema.Normalizer
public abstract class Normalizer
Converts attribute values to a canonical form.
Field Summary |
---|
Fields inherited from class org.apache.directory.shared.ldap.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(java.lang.String oid)
The Normalizer base constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
abstract java.lang.String |
normalize(java.lang.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. |
java.lang.String |
toString()
|
Methods inherited from class org.apache.directory.shared.ldap.schema.LoadableSchemaObject |
---|
copy, getBytecode, getFqcn, isValid, registerOid, setBytecode, setFqcn |
Methods inherited from class org.apache.directory.shared.ldap.schema.AbstractSchemaObject |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected Normalizer(java.lang.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 normalizationpublic abstract java.lang.String normalize(java.lang.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(java.lang.Object o)
equals
in interface SchemaObject
equals
in class LoadableSchemaObject
Object#equals()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |