public abstract class SyntaxChecker extends LoadableSchemaObject
description, extensions, isEnabled, isObsolete, isReadOnly, locked, names, objectType, oid, schemaName, specification
Modifier | Constructor and Description |
---|---|
protected |
SyntaxChecker()
The SyntaxChecker default constructor where the oid is set after
instantiation.
|
protected |
SyntaxChecker(String oid)
The SyntaxChecker base constructor
|
Modifier and Type | Method and Description |
---|---|
void |
assertSyntax(Object value)
Asserts whether or not the attribute's value conforms to the attribute
syntax.
|
boolean |
equals(Object o) |
abstract boolean |
isValidSyntax(Object value)
Determines if the attribute's value conforms to the attribute syntax.
|
String |
toString() |
copy, getBytecode, getFqcn, isValid, registerOid, setBytecode, setFqcn
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
protected SyntaxChecker(String oid)
oid
- The associated OIDprotected SyntaxChecker()
public abstract boolean isValidSyntax(Object value)
value
- the value of some attribute with the syntaxpublic void assertSyntax(Object value) throws LdapException
value
- the value of some attribute with the syntaxLdapException
- if the value does not conform to the attribute syntax.public boolean equals(Object o)
equals
in interface SchemaObject
equals
in class LoadableSchemaObject
Object#equals()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.