public final class ObjectClassDescriptionSyntaxChecker extends SyntaxChecker
ObjectClassDescription = LPAREN WSP
numericoid ; object identifier
[ SP "NAME" SP qdescrs ] ; short names (descriptors)
[ SP "DESC" SP qdstring ] ; description
[ SP "OBSOLETE" ] ; not active
[ SP "SUP" SP oids ] ; superior object classes
[ SP kind ] ; kind of class
[ SP "MUST" SP oids ] ; attribute types
[ SP "MAY" SP oids ] ; attribute types
extensions WSP RPAREN
kind = "ABSTRACT" / "STRUCTURAL" / "AUXILIARY"
extensions = *( SP xstring SP qdstrings )
xstring = "X" HYPHEN 1*( ALPHA / HYPHEN / USCORE )
| Modifier and Type | Class and Description |
|---|---|
static class |
ObjectClassDescriptionSyntaxChecker.Builder
A static Builder for this class
|
SyntaxChecker.SCBuilder<SC>| Modifier and Type | Field and Description |
|---|---|
static ObjectClassDescriptionSyntaxChecker |
INSTANCE
A static instance of ObjectClassDescriptionSyntaxChecker
|
private ObjectClassDescriptionSchemaParser |
schemaParser
The schema parser used to parse the ObjectClassDescription Syntax
|
LOG, serialVersionUIDdescription, extensions, h, isEnabled, isObsolete, locked, names, objectType, oid, schemaName, specification| Modifier | Constructor and Description |
|---|---|
private |
ObjectClassDescriptionSyntaxChecker(String oid)
Creates a new instance of ObjectClassDescriptionSyntaxChecker.
|
| Modifier and Type | Method and Description |
|---|---|
static ObjectClassDescriptionSyntaxChecker.Builder |
builder() |
boolean |
isValidSyntax(Object value)
Determines if the attribute's value conforms to the attribute syntax.
|
equals, setSchemaManager, toStringcopy, getBytecode, getFqcn, hashCode, isValid, setBytecode, setFqcnaddExtension, addExtension, addName, clear, compareOid, computeHashCode, copy, getDescription, getExtension, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hasExtension, isDisabled, isEnabled, isObsolete, lock, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setSchemaName, setSpecification, unlockprivate transient ObjectClassDescriptionSchemaParser schemaParser
public static final ObjectClassDescriptionSyntaxChecker INSTANCE
private ObjectClassDescriptionSyntaxChecker(String oid)
oid - The OID to use for this SyntaxCheckerpublic static ObjectClassDescriptionSyntaxChecker.Builder builder()
public boolean isValidSyntax(Object value)
isValidSyntax in class SyntaxCheckervalue - the value of some attribute with the syntaxCopyright © 2003–2022 The Apache Software Foundation. All rights reserved.