Package | Description |
---|---|
org.apache.directory.shared.ldap.entry | |
org.apache.directory.shared.ldap.schema |
Contains interfaces and base classes for representing the LDAP schema domain
model.
|
org.apache.directory.shared.ldap.schema.loader.ldif | |
org.apache.directory.shared.ldap.schema.manager.impl | |
org.apache.directory.shared.ldap.schema.parsers | |
org.apache.directory.shared.ldap.schema.registries | |
org.apache.directory.shared.ldap.schema.syntax |
Modifier and Type | Method and Description |
---|---|
protected MatchingRule |
AbstractValue.getMatchingRule()
Find a matchingRule to use for normalization and comparison.
|
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 |
EntityFactory.getMatchingRule(SchemaManager schemaManager,
Entry entry,
Registries targetRegistries,
String schemaName)
Construct an MatchingRule from an entry get from the Dit
|
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 |
---|---|
static String |
DescriptionUtils.getDescription(MatchingRule matchingRule)
Generates the MatchingRuleDescription for a MatchingRule as defined by
the syntax: 1.3.6.1.4.1.1466.115.121.1.30.
|
Set<Entry> |
SchemaDao.listMatchingRuleDependents(MatchingRule mr) |
static StringBuffer |
SchemaUtils.render(MatchingRule mr)
Renders an matchingRule into a new StringBuffer 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
|
void |
AttributeType.updateEquality(MatchingRule equality)
Update the associated Equality MatchingRule, even if the SchemaObject is readOnly
|
void |
AttributeType.updateOrdering(MatchingRule ordering)
Update the associated Ordering MatchingRule, even if the SchemaObject is readOnly
|
void |
AttributeType.updateSubstring(MatchingRule substring)
Update the associated Substring MatchingRule, even if the SchemaObject is readOnly
|
Modifier and Type | Method and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
MatchingRule |
MatchingRuleDescriptionSchemaParser.parse(String schemaDescription)
Parses a MatchingRule description
|
MatchingRule |
MatchingRuleDescriptionSchemaParser.parseMatchingRuleDescription(String matchingRuleDescription)
Parses a matching rule description according to RFC 4512:
|
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.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 |
---|---|
MatchingRule |
AntlrSchemaParser.matchingRuleDescription()
Production for matching rule descriptions.
|
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.