public interface SyntaxImpl
| Modifier and Type | Method and Description |
|---|---|
String |
getApproximateMatchingRule()
Retrieves the default approximate matching rule that will be used for
attributes with this syntax.
|
String |
getEqualityMatchingRule()
Retrieves the default equality matching rule that will be used for
attributes with this syntax.
|
String |
getName()
Retrieves the common name for this attribute syntax.
|
String |
getOrderingMatchingRule()
Retrieves the default ordering matching rule that will be used for
attributes with this syntax.
|
String |
getSubstringMatchingRule()
Retrieves the default substring matching rule that will be used for
attributes with this syntax.
|
boolean |
isBEREncodingRequired()
Indicates whether this attribute syntax requires that values must be
encoded using the Basic Encoding Rules (BER) used by X.500 directories
and always include the
binary attribute description option. |
boolean |
isHumanReadable()
Indicates whether this attribute syntax would likely be a human readable
string.
|
boolean |
valueIsAcceptable(Schema schema,
ByteSequence value,
LocalizableMessageBuilder invalidReason)
Indicates whether the provided value is acceptable for use in an
attribute with this syntax.
|
String getApproximateMatchingRule()
null if approximate
matches will not be allowed for this type by default.String getEqualityMatchingRule()
null if equality matches
will not be allowed for this type by default.String getName()
String getOrderingMatchingRule()
null if ordering matches
will not be allowed for this type by default.String getSubstringMatchingRule()
null if substring matches
will not be allowed for this type by default.boolean isBEREncodingRequired()
binary attribute description option.true this attribute syntax requires that values must be
BER encoded and always include the binary attribute
description option, or false if not.boolean isHumanReadable()
true if this attribute syntax would likely be a human
readable string or false if not.boolean valueIsAcceptable(Schema schema, ByteSequence value, LocalizableMessageBuilder invalidReason)
schema - The schema in which this syntax is defined.value - The value for which to make the determination.invalidReason - The buffer to which the invalid reason should be appended.true if the provided value is acceptable for use with
this syntax, or false if not.Copyright © 2011-2015 ForgeRock AS. All Rights Reserved.