org.apache.directory.shared.ldap.schema.syntaxCheckers
Class Ia5StringSyntaxChecker
java.lang.Object
org.apache.directory.shared.ldap.schema.AbstractSchemaObject
org.apache.directory.shared.ldap.schema.LoadableSchemaObject
org.apache.directory.shared.ldap.schema.SyntaxChecker
org.apache.directory.shared.ldap.schema.syntaxCheckers.Ia5StringSyntaxChecker
- All Implemented Interfaces:
- Serializable, SchemaObject
- Direct Known Subclasses:
- ComparatorSyntaxChecker, NormalizerSyntaxChecker, SyntaxCheckerSyntaxChecker
public class Ia5StringSyntaxChecker
- extends SyntaxChecker
A SyntaxChecker which verifies that a value is a IA5 String according to RFC 4517.
From RFC 4517 :
IA5String = *(%x00-7F)
- Version:
- $Rev: 437007 $
- Author:
- Apache Directory Project
- See Also:
- Serialized Form
|
Method Summary |
boolean |
isValidSyntax(Object value)
Determines if the attribute's value conforms to the attribute syntax. |
| Methods inherited from class org.apache.directory.shared.ldap.schema.AbstractSchemaObject |
addExtension, addName, addToRegistries, clear, compareOid, copy, getDescription, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hashCode, isDisabled, isEnabled, isObsolete, isReadOnly, removeFromRegistries, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setReadOnly, setRegistries, setSchemaName, setSpecification |
Ia5StringSyntaxChecker
public Ia5StringSyntaxChecker()
- Creates a new instance of Ia5StringSyntaxChecker.
isValidSyntax
public boolean isValidSyntax(Object value)
- Determines if the attribute's value conforms to the attribute syntax.
- Specified by:
isValidSyntax in class SyntaxChecker
- Parameters:
value - the value of some attribute with the syntax
- Returns:
- true if the value is in the valid syntax, false otherwise
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.