|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.api.MatchingRule<EqualityMatchingRuleCfg>
org.opends.server.api.EqualityMatchingRule
org.opends.server.schema.CaseIgnoreEqualityMatchingRule
public class CaseIgnoreEqualityMatchingRule
This class defines the caseIgnoreMatch matching rule defined in X.520 and referenced in RFC 2252.
Constructor Summary | |
---|---|
CaseIgnoreEqualityMatchingRule()
Creates a new instance of this caseIgnoreMatch matching rule. |
Method Summary | |
---|---|
boolean |
areEqual(ByteString value1,
ByteString value2)
Indicates whether the two provided normalized values are equal to each other. |
java.lang.String |
getDescription()
Retrieves the description for this matching rule. |
java.lang.String |
getName()
Retrieves the common name for this matching rule. |
java.lang.String |
getOID()
Retrieves the OID for this matching rule. |
java.lang.String |
getSyntaxOID()
Retrieves the OID of the syntax with which this matching rule is associated. |
void |
initializeMatchingRule(EqualityMatchingRuleCfg configuration)
Initializes this matching rule based on the information in the provided configuration entry. |
ByteString |
normalizeValue(ByteString value)
Retrieves the normalized form of the provided value, which is best suited for efficiently performing matching operations on that value. |
Methods inherited from class org.opends.server.api.EqualityMatchingRule |
---|
generateHashCode, valuesMatch |
Methods inherited from class org.opends.server.api.MatchingRule |
---|
equals, finalizeMatchingRule, getNameOrOID, hashCode, isConfigurationAcceptable, isObsolete, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CaseIgnoreEqualityMatchingRule()
Method Detail |
---|
public void initializeMatchingRule(EqualityMatchingRuleCfg configuration) throws ConfigException, InitializationException
initializeMatchingRule
in class MatchingRule<EqualityMatchingRuleCfg>
configuration
- The configuration to use to intialize this
matching rule.
ConfigException
- If an unrecoverable problem arises in
the process of performing the
initialization.
InitializationException
- If a problem that is not
configuration-related occurs
during initialization.public java.lang.String getName()
getName
in class MatchingRule<EqualityMatchingRuleCfg>
null
if
it does not have a name.public java.lang.String getOID()
getOID
in class MatchingRule<EqualityMatchingRuleCfg>
public java.lang.String getDescription()
getDescription
in class MatchingRule<EqualityMatchingRuleCfg>
null
if
there is none.public java.lang.String getSyntaxOID()
getSyntaxOID
in class MatchingRule<EqualityMatchingRuleCfg>
public ByteString normalizeValue(ByteString value) throws DirectoryException
normalizeValue
in class MatchingRule<EqualityMatchingRuleCfg>
value
- The value to be normalized.
DirectoryException
- If the provided value is invalid according to
the associated attribute syntax.public boolean areEqual(ByteString value1, ByteString value2)
areEqual
in class EqualityMatchingRule
value1
- The normalized form of the first value to compare.value2
- The normalized form of the second value to compare.
true
if the provided values are equal, or
false
if not.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |