public class RegexNormalizer extends Normalizer
serialVersionUID
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, setBytecode, setFqcn
addExtension, addExtension, addName, clear, compareOid, copy, getDescription, getExtension, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hasExtension, hashCode, isDisabled, isEnabled, isObsolete, isReadOnly, lock, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setReadOnly, setSchemaName, setSpecification, unlock
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()
Normalizer
toString
in class Normalizer
Object.toString()
Copyright © 2016. All rights reserved.