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 | |
org.apache.directory.api.ldap.schema.loader | |
org.apache.directory.api.ldap.schema.manager.impl |
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:
|
MatchingRule |
OpenLdapSchemaParser.parseMatchingRule(String matchingRuleDescription)
Production for matching MatchingRule 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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
MatchingRule |
EntityFactory.getMatchingRule(SchemaManager schemaManager,
Entry entry,
Registries targetRegistries,
String schemaName)
Construct an MatchingRule from an entry get from the Dit
|
MatchingRule |
SchemaEntityFactory.getMatchingRule(SchemaManager schemaManager,
Entry entry,
Registries targetRegistries,
String schemaName)
Construct an MatchingRule from an entry get from the Dit
|
Modifier and Type | Method and Description |
---|---|
MatchingRule |
DefaultSchemaManager.lookupMatchingRuleRegistry(String oid)
Lookup for a MatchingRule in the MatchingRule registry
|
Copyright © 2003–2021 The Apache Software Foundation. All rights reserved.