public class RegexNormalizer extends Normalizer
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID
The serial UID
|
description, extensions, isEnabled, isObsolete, isReadOnly, locked, names, objectType, oid, schemaName, specification
Constructor and Description |
---|
RegexNormalizer(String oid,
Pattern[] regexes)
Creates a Perl5 regular expression based normalizer.
|
Modifier and Type | Method and Description |
---|---|
String |
normalize(String value)
Gets the normalized value.
|
Value<?> |
normalize(Value<?> value)
Gets the normalized value.
|
String |
toString() |
equals, setSchemaManager
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
public static final long serialVersionUID
public Value<?> normalize(Value<?> value)
normalize
in class Normalizer
value
- the value to normalize. It must *not* be null !public String normalize(String value)
normalize
in class Normalizer
value
- the value to normalize. It must *not* be null !public String toString()
toString
in class Normalizer
Object.toString()
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.