|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.directory.shared.ldap.schema.CachingNormalizer
Caches previously normalized values.
| Field Summary | |
static int |
CACHE_MAX
Cache maximum size default |
| Constructor Summary | |
CachingNormalizer(Normalizer normalizer)
Creates a CachingNormalizer that decorates another normalizer using a default cache size. |
|
CachingNormalizer(Normalizer normalizer,
int cacheSz)
Creates a CachingNormalizer that decorates another normalizer using a specified cache size. |
|
| Method Summary | |
java.lang.Object |
normalize(java.lang.Object value)
Gets the normalized value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int CACHE_MAX
| Constructor Detail |
public CachingNormalizer(Normalizer normalizer)
normalizer - the underlying Normalizer being decorated
public CachingNormalizer(Normalizer normalizer,
int cacheSz)
normalizer - the underlying Normalizer being decoratedcacheSz - the maximum size of the name cache| Method Detail |
public java.lang.Object normalize(java.lang.Object value)
throws javax.naming.NamingException
Normalizer
normalize in interface Normalizervalue - the value to normalize. It must *not* be null !
javax.naming.NamingException - if an error results during normalizationNormalizer.normalize(java.lang.Object)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||