Class BooleanNormalizer
- java.lang.Object
-
- org.apache.directory.api.ldap.model.schema.AbstractSchemaObject
-
- org.apache.directory.api.ldap.model.schema.LoadableSchemaObject
-
- org.apache.directory.api.ldap.model.schema.Normalizer
-
- org.apache.directory.api.ldap.model.schema.normalizers.BooleanNormalizer
-
- All Implemented Interfaces:
Serializable,SchemaObject
public class BooleanNormalizer extends Normalizer
Normalizer for boolean values.- Author:
- Apache Directory Project
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.directory.api.ldap.model.schema.Normalizer
serialVersionUID
-
Fields inherited from class org.apache.directory.api.ldap.model.schema.AbstractSchemaObject
description, extensions, h, isEnabled, isObsolete, locked, names, objectType, oid, schemaName, specification
-
-
Constructor Summary
Constructors Constructor Description BooleanNormalizer()Creates a new instance of BooleanNormalizer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringnormalize(String value)Gets the normalized value of AssertionValues.Stringnormalize(String value, PrepareString.AssertionType assertionType)Gets the normalized value of a substring assertion.-
Methods inherited from class org.apache.directory.api.ldap.model.schema.Normalizer
equals, setSchemaManager, toString
-
Methods inherited from class org.apache.directory.api.ldap.model.schema.LoadableSchemaObject
copy, getBytecode, getFqcn, hashCode, isValid, setBytecode, setFqcn
-
Methods inherited from class org.apache.directory.api.ldap.model.schema.AbstractSchemaObject
addExtension, 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, unlock
-
-
-
-
Method Detail
-
normalize
public String normalize(String value) throws LdapInvalidDnException
Gets the normalized value of AssertionValues.- Specified by:
normalizein classNormalizer- Parameters:
value- the value to normalize. It must *not* be null !- Returns:
- the normalized form for a value
- Throws:
LdapInvalidDnException
-
normalize
public String normalize(String value, PrepareString.AssertionType assertionType) throws LdapInvalidDnException
Gets the normalized value of a substring assertion.- Specified by:
normalizein classNormalizer- Parameters:
value- the substring value to normalize. It must *not* be null !assertionType- The type of assertion- Returns:
- the normalized form for a value
- Throws:
LdapInvalidDnException
-
-