| Package | Description |
|---|---|
| org.apache.directory.api.ldap.model.schema |
Contains interfaces and base classes for representing the LDAP schema domain
model.
|
| org.apache.directory.api.ldap.model.schema.parsers | |
| org.apache.directory.api.ldap.model.schema.registries | |
| org.apache.directory.api.ldap.model.schema.registries.helper |
| Modifier and Type | Field and Description |
|---|---|
protected LdapSyntax |
MatchingRule.ldapSyntax
The associated LdapSyntax
|
protected LdapSyntax |
AttributeType.syntax
The syntax associated with the syntaxID
|
| Modifier and Type | Method and Description |
|---|---|
LdapSyntax |
LdapSyntax.copy()
Copy the current SchemaObject on place
|
LdapSyntax |
MatchingRule.getSyntax()
Gets the LdapSyntax used by this MatchingRule.
|
LdapSyntax |
AttributeType.getSyntax()
Gets the Syntax for this AttributeType's values.
|
LdapSyntax |
SchemaManager.lookupLdapSyntaxRegistry(String oid)
Lookup for an LdapSyntax in the LdapSyntax registry
|
| Modifier and Type | Method and Description |
|---|---|
Entry |
AttributesFactory.convert(LdapSyntax syntax,
Schema schema,
SchemaManager schemaManager)
Convert a Syntax instance into an Entry
|
String |
SchemaObjectRenderer.render(LdapSyntax syntax)
Renders a Syntax according to the LDAP Syntax
Description Syntax 1.3.6.1.4.1.1466.115.121.1.54.
|
void |
MatchingRule.setSyntax(LdapSyntax ldapSyntax)
Sets the Syntax
|
void |
AttributeType.setSyntax(LdapSyntax syntax)
Sets the Syntax for this AttributeType
|
| Modifier and Type | Method and Description |
|---|---|
LdapSyntax |
LdapSyntaxDescriptionSchemaParser.parse(String ldapSyntaxDescription)
Parses a LDAP syntax description according to RFC 4512:
SyntaxDescription = LPAREN WSP
numericoid ; object identifier
[ SP "DESC" SP qdstring ] ; description
extensions WSP RPAREN ; extensions
|
LdapSyntax |
OpenLdapSchemaParser.parseLdapSyntax(String ldapSyntaxDescription)
Production for matching ldap syntax descriptions.
|
private static LdapSyntax |
OpenLdapSchemaParser.parseLdapSyntaxRelaxed(Reader reader,
OpenLdapSchemaParser.PosSchema pos,
Map<String,OpenLdapObjectIdentifierMacro> objectIdentifierMacros)
Production for matching ldap syntax descriptions.
|
private static LdapSyntax |
OpenLdapSchemaParser.parseLdapSyntaxStrict(Reader reader,
OpenLdapSchemaParser.PosSchema pos,
Map<String,OpenLdapObjectIdentifierMacro> objectIdentifierMacros)
Production for matching ldap syntax descriptions.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ParserDescriptionUtils.syntaxesMatch(LdapSyntax ldapSyntax0,
LdapSyntax ldapSyntax1)
Checks to see if two syntax match exactly.
|
| Modifier and Type | Method and Description |
|---|---|
LdapSyntax |
ImmutableLdapSyntaxRegistry.get(String oid)
Gets the SchemaObject associated with a given OID.
|
LdapSyntax |
ImmutableLdapSyntaxRegistry.lookup(String oid)
Looks up a SchemaObject by its unique Object Identifier or by name.
|
LdapSyntax |
ImmutableLdapSyntaxRegistry.unregister(LdapSyntax schemaObject)
Removes the SchemaObject registered with this registry.
|
LdapSyntax |
ImmutableLdapSyntaxRegistry.unregister(String numericOid)
Removes the SchemaObject registered with this registry, using its
numeric OID.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<LdapSyntax> |
ImmutableLdapSyntaxRegistry.iterator()
Gets an iterator over the registered schema objects in the registry.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ImmutableLdapSyntaxRegistry.register(LdapSyntax schemaObject)
Registers a new SchemaObject with this registry.
|
private void |
Registries.resolve(LdapSyntax syntax)
Attempts to resolve the SyntaxChecker associated with a Syntax.
|
LdapSyntax |
ImmutableLdapSyntaxRegistry.unregister(LdapSyntax schemaObject)
Removes the SchemaObject registered with this registry.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
LdapSyntaxHelper.addToRegistries(LdapSyntax ldapSyntax,
SchemaErrorHandler errorHandler,
Registries registries)
Inject the LdapSyntax into the registries, updating the references to
other SchemaObject
|
static void |
LdapSyntaxHelper.removeFromRegistries(LdapSyntax ldapSyntax,
SchemaErrorHandler errorHandler,
Registries registries)
Remove the LdapSyntax from the Registries, updating the references to
other SchemaObject.
|
Copyright © 2003–2022 The Apache Software Foundation. All rights reserved.