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, setSchemaManagercopy, getBytecode, getFqcn, isValid, registerOid, setBytecode, setFqcnaddExtension, 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, setSpecificationpublic static final long serialVersionUID
public Value<?> normalize(Value<?> value)
normalize in class Normalizervalue - the value to normalize. It must *not* be null !public String normalize(String value)
normalize in class Normalizervalue - the value to normalize. It must *not* be null !public String toString()
toString in class NormalizerObject.toString()Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.