org.apache.directory.shared.ldap.schema.syntaxCheckers
Class DSETypeSyntaxChecker
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.DSETypeSyntaxChecker
- All Implemented Interfaces:
- java.io.Serializable, SchemaObject
public class DSETypeSyntaxChecker
- extends SyntaxChecker
A SyntaxChecker which verifies that a value is a DSEType according to
http://tools.ietf.org/id/draft-ietf-asid-ldapv3-attributes-03.txt, par 6.2.1.5 :
::= '(' * * ')'
::= '$' * * | e
::= 'root' | 'glue' | 'cp' | 'entry' | 'alias' | 'subr' |
'nssr' | 'supr' | 'xr' | 'admPoint' | 'subentry' |
'shadow' | 'zombie' | 'immSupr' | 'rhob' | 'sa'
- Version:
- $Rev$
- Author:
- Apache Directory Project
- See Also:
- Serialized Form
Fields inherited from class org.apache.directory.shared.ldap.schema.AbstractSchemaObject |
description, extensions, isEnabled, isObsolete, isReadOnly, locked, names, objectType, oid, schemaName, specification |
Method Summary |
boolean |
isValidSyntax(java.lang.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, lock, removeFromRegistries, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setReadOnly, setRegistries, setSchemaName, setSpecification |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
DSETypeSyntaxChecker
public DSETypeSyntaxChecker()
- Creates a new instance of DSETypeSyntaxChecker.
isValidSyntax
public boolean isValidSyntax(java.lang.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 © 2003-2011 Apache Software Foundation. All Rights Reserved.