| | |
| | | |
| | | |
| | | /** |
| | | * This class implements the telephoneNumberMatch matching rule defined |
| | | * in X.520 and referenced in RFC 2252. Note that although the |
| | | * specification calls for a very rigorous format, this is widely |
| | | * ignored so this matching will compare only numeric digits and strip |
| | | * out everything else. |
| | | * This class implements the telephoneNumberMatch matching rule defined in X.520 |
| | | * and referenced in RFC 2252. Note that although the specification calls for a |
| | | * very rigorous format, this is widely ignored so this matching will compare |
| | | * only numeric digits and strip out everything else. |
| | | */ |
| | | final class TelephoneNumberEqualityMatchingRuleImpl extends |
| | | AbstractMatchingRuleImpl |
| | | { |
| | | public ByteString normalizeAttributeValue(Schema schema, |
| | | ByteSequence value) |
| | | public ByteString normalizeAttributeValue(final Schema schema, |
| | | final ByteSequence value) |
| | | { |
| | | final String valueString = value.toString(); |
| | | final int valueLength = valueString.length(); |