Package com.ongres.stringprep
Enum Option
- All Implemented Interfaces:
Serializable
,Comparable<Option>
Options to define a StringPrep profile.
- Since:
- 2.0
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAny additional mapping tables specific to the profile.B.2 Mapping for case-folding used with NFKC.B.3 Mapping for case-folding used with no normalization.Bidirectional tables.Any additional characters that are prohibited as output specific to the profile.C.2.1 ASCII control charactersC.1.1 ASCII space charactersC.8 Change display properties or are deprecatedC.7 Inappropriate for canonical representationC.6 Inappropriate for plain text.C.2.2 Non-ASCII control charactersC.1.2 Non-ASCII space charactersC.4 Non-character code points.C.3 Private useC.5 Surrogate codes.C.9 Tagging charactersB.1 Commonly mapped to nothingUnicode normalization with form KC. -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
MAP_TO_NOTHING
B.1 Commonly mapped to nothing -
ADDITIONAL_MAPPING
Any additional mapping tables specific to the profile. -
CASE_FOLD_NFKC
B.2 Mapping for case-folding used with NFKC. -
CASE_FOLD_NO_NORMALIZATION
B.3 Mapping for case-folding used with no normalization. -
NORMALIZE_KC
Unicode normalization with form KC. -
CHECK_BIDI
Bidirectional tables. -
FORBID_ADDITIONAL_CHARACTERS
Any additional characters that are prohibited as output specific to the profile. -
FORBID_ASCII_SPACES
C.1.1 ASCII space characters -
FORBID_NON_ASCII_SPACES
C.1.2 Non-ASCII space characters -
FORBID_ASCII_CONTROL
C.2.1 ASCII control characters -
FORBID_NON_ASCII_CONTROL
C.2.2 Non-ASCII control characters -
FORBID_PRIVATE_USE
C.3 Private use -
FORBID_NON_CHARACTER
C.4 Non-character code points. -
FORBID_SURROGATE
C.5 Surrogate codes. -
FORBID_INAPPROPRIATE_FOR_PLAIN_TEXT
C.6 Inappropriate for plain text. -
FORBID_INAPPROPRIATE_FOR_CANON_REP
C.7 Inappropriate for canonical representation -
FORBID_CHANGE_DISPLAY_AND_DEPRECATED
C.8 Change display properties or are deprecated -
FORBID_TAGGING
C.9 Tagging characters
-
-
Constructor Details
-
Option
private Option()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-