| | |
| | | public void initializeMatchingRule(ConfigEntry configEntry) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | |
| | | // No initialization is required. |
| | | } |
| | | |
| | |
| | | */ |
| | | public String getName() |
| | | { |
| | | |
| | | return SMR_TELEPHONE_NAME; |
| | | } |
| | | |
| | |
| | | */ |
| | | public String getOID() |
| | | { |
| | | |
| | | return SMR_TELEPHONE_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 |
| | | { |
| | | |
| | | String valueString = value.stringValue(); |
| | | int valueLength = valueString.length(); |
| | | StringBuilder buffer = new StringBuilder(valueLength); |
| | |
| | | public ByteString normalizeSubstring(ByteString substring) |
| | | throws DirectoryException |
| | | { |
| | | |
| | | |
| | | // In this case, the logic used to normalize a substring is identical to the |
| | | // logic used to normalize a full value. |
| | | return normalizeValue(substring); |
| | |
| | | List<ByteString> subAnyElements, |
| | | ByteString subFinal) |
| | | { |
| | | |
| | | |
| | | byte[] valueBytes = value.value(); |
| | | int valueLength = valueBytes.length; |
| | | |