| | |
| | | public void initializeMatchingRule(ConfigEntry configEntry) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | |
| | | // No initialization is required. |
| | | } |
| | | |
| | |
| | | */ |
| | | public String getName() |
| | | { |
| | | |
| | | return SMR_CASE_IGNORE_LIST_NAME; |
| | | } |
| | | |
| | |
| | | */ |
| | | public String getOID() |
| | | { |
| | | |
| | | return SMR_CASE_IGNORE_LIST_OID; |
| | | } |
| | | |
| | |
| | | */ |
| | | public String getDescription() |
| | | { |
| | | |
| | | // There is no standard description for this matching rule. |
| | | return null; |
| | | } |
| | |
| | | */ |
| | | public String getSyntaxOID() |
| | | { |
| | | |
| | | return SYNTAX_SUBSTRING_ASSERTION_OID; |
| | | } |
| | | |
| | |
| | | public ByteString normalizeValue(ByteString value) |
| | | throws DirectoryException |
| | | { |
| | | |
| | | StringBuilder buffer = new StringBuilder(); |
| | | toLowerCase(value.value(), buffer, true); |
| | | |
| | |
| | | public ByteString normalizeSubstring(ByteString substring) |
| | | throws DirectoryException |
| | | { |
| | | |
| | | // In this case, the process for normalizing a substring is the same as |
| | | // normalizing a full value with the exception that it may include an |
| | | // opening or trailing space. |
| | |
| | | List<ByteString> subAnyElements, |
| | | ByteString subFinal) |
| | | { |
| | | |
| | | |
| | | byte[] valueBytes = value.value(); |
| | | int valueLength = valueBytes.length; |
| | | |