public class NoOpNormalizer extends Normalizer
serialVersionUIDdescription, extensions, h, isEnabled, isObsolete, locked, names, objectType, oid, schemaName, specification| Constructor and Description |
|---|
NoOpNormalizer()
Default constructor for NoOpNormalizer used when we must set the OID
after instantiating the Normalizer.
|
NoOpNormalizer(String oid)
Creates a new instance of NoOpNormalizer.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
normalize(byte[] value)
Returns the value argument as-is without alterations all the time.
|
String |
normalize(String value)
Returns the value argument as-is without alterations all the time.
|
String |
normalize(String value,
PrepareString.AssertionType assertionType)
Gets the normalized value of a substring assertion.
|
equals, setSchemaManager, toStringcopy, getBytecode, getFqcn, hashCode, isValid, setBytecode, setFqcnaddExtension, addExtension, addName, clear, compareOid, computeHashCode, copy, getDescription, getExtension, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hasExtension, isDisabled, isEnabled, isObsolete, lock, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setSchemaName, setSpecification, unlockpublic NoOpNormalizer(String oid)
oid - The MR OID to use with this Normalizerpublic NoOpNormalizer()
public String normalize(String value)
normalize in class Normalizervalue - any valueNormalizer.normalize(String)public String normalize(String value, PrepareString.AssertionType assertionType)
normalize in class Normalizervalue - the substring value to normalize. It must *not* be null !assertionType - The type of assertionpublic byte[] normalize(byte[] value)
value - any valueNormalizer.normalize(String)Copyright © 2003–2022 The Apache Software Foundation. All rights reserved.