public class NoOpNormalizer extends Normalizer
serialVersionUID
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, toString
copy, getBytecode, getFqcn, hashCode, isValid, setBytecode, setFqcn
addExtension, addExtension, addName, clear, copy, getDescription, getExtension, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hasExtension, isDisabled, isEnabled, isObsolete, lock, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setSchemaName, setSpecification, unlock
public NoOpNormalizer(String oid)
oid
- The MR OID to use with this Normalizerpublic NoOpNormalizer()
public String normalize(String value)
normalize
in class Normalizer
value
- any valueNormalizer.normalize(String)
public String normalize(String value, PrepareString.AssertionType assertionType)
normalize
in class Normalizer
value
- 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–2020 The Apache Software Foundation. All rights reserved.