org.apache.directory.api.ldap.aci
Class ACIItemSyntaxChecker

java.lang.Object
  extended by org.apache.directory.api.ldap.model.schema.AbstractSchemaObject
      extended by org.apache.directory.api.ldap.model.schema.LoadableSchemaObject
          extended by org.apache.directory.api.ldap.model.schema.SyntaxChecker
              extended by org.apache.directory.api.ldap.aci.ACIItemSyntaxChecker
All Implemented Interfaces:
Serializable, SchemaObject

public class ACIItemSyntaxChecker
extends SyntaxChecker

A SyntaxChecker which verifies that a value is a valid ACIItem.

Author:
Apache Directory Project
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.directory.api.ldap.model.schema.AbstractSchemaObject
description, extensions, isEnabled, isObsolete, isReadOnly, locked, names, objectType, oid, schemaName, specification
 
Constructor Summary
ACIItemSyntaxChecker()
          Creates a new instance of ACIItemSyntaxChecker
 
Method Summary
 boolean isValidSyntax(Object value)
          Determines if the attribute's value conforms to the attribute syntax.
 void setSchemaManager(SchemaManager schemaManager)
          Store the SchemaManager in this instance.
 
Methods inherited from class org.apache.directory.api.ldap.model.schema.SyntaxChecker
assertSyntax, equals, toString
 
Methods inherited from class org.apache.directory.api.ldap.model.schema.LoadableSchemaObject
copy, getBytecode, getFqcn, isValid, setBytecode, setFqcn
 
Methods inherited from class org.apache.directory.api.ldap.model.schema.AbstractSchemaObject
addExtension, addExtension, addName, clear, compareOid, copy, getDescription, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hashCode, isDisabled, isEnabled, isObsolete, isReadOnly, lock, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setReadOnly, setSchemaName, setSpecification, unlock
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ACIItemSyntaxChecker

public ACIItemSyntaxChecker()
Creates a new instance of ACIItemSyntaxChecker

Method Detail

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

setSchemaManager

public void setSchemaManager(SchemaManager schemaManager)
Store the SchemaManager in this instance. It may be necessary for some syntaxChecker which needs to have access to the oidNormalizer Map.

Overrides:
setSchemaManager in class SyntaxChecker
Parameters:
schemaManager - the schemaManager to store


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.