@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum TelephoneNumberComparisonPolicy extends java.lang.Enum<TelephoneNumberComparisonPolicy>
TelephoneNumberMatchingRule
should use when comparing two values in accordance with this syntax.| Enum Constant and Description |
|---|
IGNORE_ALL_NON_NUMERIC_CHARACTERS
A policy that indicates that all non-numeric characters should be ignored
when comparing values.
|
IGNORE_ONLY_SPACES_AND_DASHES
A policy that indicates that only spaces and hyphens should be ignored when
comparing values.
|
| Modifier and Type | Method and Description |
|---|---|
ASN1OctetString |
normalizeValue(ASN1OctetString value)
Normalizes the provided value in accordance with this policy.
|
static TelephoneNumberComparisonPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TelephoneNumberComparisonPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TelephoneNumberComparisonPolicy IGNORE_ALL_NON_NUMERIC_CHARACTERS
public static final TelephoneNumberComparisonPolicy IGNORE_ONLY_SPACES_AND_DASHES
public static TelephoneNumberComparisonPolicy[] values()
for (TelephoneNumberComparisonPolicy c : TelephoneNumberComparisonPolicy.values()) System.out.println(c);
public static TelephoneNumberComparisonPolicy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null@NotNull public ASN1OctetString normalizeValue(@NotNull ASN1OctetString value)
value - The value to be normalized. It must not be null.