| 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 MatchingRule |
AttributeType.equality
The equality MatchingRule associated with the equalityID
|
protected MatchingRule |
AttributeType.ordering
The ordering MatchingRule associated with the orderingID
|
protected MatchingRule |
AttributeType.substring
The substring MatchingRule associated with the substringID
|
| Modifier and Type | Method and Description |
|---|---|
MatchingRule |
MatchingRule.copy()
Copy an MatchingRule
|
MatchingRule |
AttributeType.getEquality()
Gets the MatchingRule for this AttributeType used for equality matching.
|
MatchingRule |
AttributeType.getOrdering()
Gets the MatchingRule for this AttributeType used for Ordering matching.
|
MatchingRule |
AttributeType.getSubstring()
Gets the MatchingRule for this AttributeType used for Substr matching.
|
MatchingRule |
SchemaManager.lookupMatchingRuleRegistry(String oid)
Lookup for a MatchingRule in the MatchingRule registry
|
| Modifier and Type | Method and Description |
|---|---|
Entry |
AttributesFactory.convert(MatchingRule matchingRule,
Schema schema,
SchemaManager schemaManager)
Converts a MatchingRule into an Entry
|
String |
SchemaObjectRenderer.render(MatchingRule mr)
Renders an matchingRule according to the
MatchingRule Description Syntax 1.3.6.1.4.1.1466.115.121.1.30.
|
void |
AttributeType.setEquality(MatchingRule equality)
Sets the Equality MR for this AttributeType
|
void |
AttributeType.setOrdering(MatchingRule ordering)
Sets the Ordering MR for this AttributeType
|
void |
AttributeType.setSubstring(MatchingRule substring)
Sets the Substr MR for this AttributeType
|
| Modifier and Type | Method and Description |
|---|---|
MatchingRule |
MatchingRuleDescriptionSchemaParser.parse(String matchingRuleDescription)
Parses a matching rule description according to RFC 4512:
MatchingRuleDescription = LPAREN WSP
numericoid ; object identifier
[ SP "NAME" SP qdescrs ] ; short names (descriptors)
[ SP "DESC" SP qdstring ] ; description
[ SP "OBSOLETE" ] ; not active
SP "SYNTAX" SP numericoid ; assertion syntax
extensions WSP RPAREN ; extensions
extensions = *( SP xstring SP qdstrings )
xstring = "X" HYPHEN 1*( ALPHA / HYPHEN / USCORE )
|
MatchingRule |
OpenLdapSchemaParser.parseMatchingRule(String matchingRuleDescription)
Production for matching MatchingRule descriptions.
|
private static MatchingRule |
OpenLdapSchemaParser.parseMatchingRuleRelaxed(Reader reader,
OpenLdapSchemaParser.PosSchema pos,
Map<String,OpenLdapObjectIdentifierMacro> objectIdentifierMacros)
Production for matching rule descriptions.
|
private static MatchingRule |
OpenLdapSchemaParser.parseMatchingRuleStrict(Reader reader,
OpenLdapSchemaParser.PosSchema pos,
Map<String,OpenLdapObjectIdentifierMacro> objectIdentifierMacros)
Production for matching rule descriptions.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ParserDescriptionUtils.matchingRulesMatch(MatchingRule matchingRule0,
MatchingRule matchingRule1)
Checks to see if two matchingRule match exactly.
|
| Modifier and Type | Method and Description |
|---|---|
MatchingRule |
ImmutableMatchingRuleRegistry.get(String oid)
Gets the SchemaObject associated with a given OID.
|
MatchingRule |
ImmutableMatchingRuleRegistry.lookup(String oid)
Looks up a SchemaObject by its unique Object Identifier or by name.
|
MatchingRule |
ImmutableMatchingRuleRegistry.unregister(MatchingRule schemaObject)
Removes the SchemaObject registered with this registry.
|
MatchingRule |
ImmutableMatchingRuleRegistry.unregister(String numericOid)
Removes the SchemaObject registered with this registry, using its
numeric OID.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<MatchingRule> |
ImmutableMatchingRuleRegistry.iterator()
Gets an iterator over the registered schema objects in the registry.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Registries.delCrossReferences(MatchingRule matchingRule)
Delete the MR references (using and usedBy) :
MR -> C
MR -> N
MR -> S
|
void |
ImmutableMatchingRuleRegistry.register(MatchingRule schemaObject)
Registers a new SchemaObject with this registry.
|
private void |
Registries.resolve(MatchingRule matchingRule)
Check if the Comparator, Normalizer and the syntax are
existing for a matchingRule.
|
MatchingRule |
ImmutableMatchingRuleRegistry.unregister(MatchingRule schemaObject)
Removes the SchemaObject registered with this registry.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
MatchingRuleHelper.addToRegistries(MatchingRule matchingRule,
SchemaErrorHandler errorHandler,
Registries registries)
Inject the MatchingRule into the Registries, updating the references to
other SchemaObject
|
static void |
MatchingRuleHelper.removeFromRegistries(MatchingRule matchingRule,
SchemaErrorHandler errorHandler,
Registries registries)
Remove the MatchingRule from the Registries, updating the references to
other SchemaObject.
|
Copyright © 2003–2022 The Apache Software Foundation. All rights reserved.