|
||||||||||
| 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
org.apache.directory.shared.ldap.schema.normalizers.NameOrNumericIdNormalizer
public class NameOrNumericIdNormalizer
A name or numeric id normalizer. Needs an OID registry to operate properly. The OID registry is injected into this class after instantiation if a setRegistries(Registries) method is exposed.
| Field Summary | |
|---|---|
static NameOrNumericIdNormalizer |
INSTANCE
A static instance of this normalizer |
static long |
serialVersionUID
The serial UID |
| Fields inherited from class org.apache.directory.shared.ldap.schema.AbstractSchemaObject |
|---|
description, extensions, isEnabled, isObsolete, isReadOnly, locked, names, objectType, oid, schemaName, specification |
| Constructor Summary | |
|---|---|
NameOrNumericIdNormalizer()
Creates a new instance of GeneralizedTimeNormalizer. |
|
| Method Summary | |
|---|---|
java.lang.String |
normalize(java.lang.String value)
Gets the normalized value. |
Value<?> |
normalize(Value<?> value)
Gets the normalized value. |
void |
setSchemaManager(SchemaManager schemaManager)
Store the SchemaManager in this instance. |
| Methods inherited from class org.apache.directory.shared.ldap.schema.Normalizer |
|---|
equals, 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 |
| Field Detail |
|---|
public static final long serialVersionUID
public static final NameOrNumericIdNormalizer INSTANCE
| Constructor Detail |
|---|
public NameOrNumericIdNormalizer()
| Method Detail |
|---|
public Value<?> normalize(Value<?> value)
throws LdapException
normalize in class Normalizervalue - the value to normalize. It must *not* be null !
LdapException - if an error results during normalization
public java.lang.String normalize(java.lang.String value)
throws LdapException
normalize in class Normalizervalue - the value to normalize. It must *not* be null !
LdapException - if an error results during normalizationpublic void setSchemaManager(SchemaManager schemaManager)
setSchemaManager in class NormalizerschemaManager - the schemaManager to store
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||