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, setFqcnaddExtension, 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, setSpecificationprotected 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 SchemaObjectequals in class LoadableSchemaObjectObject#equals()public String toString()
toString in class ObjectObject.toString()Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.