Package com.ongres.stringprep
Enum Option
- java.lang.Object
-
- java.lang.Enum<Option>
-
- com.ongres.stringprep.Option
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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.CHECK_BIDI
Bidirectional tables.FORBID_ADDITIONAL_CHARACTERS
Any additional characters that are prohibited as output specific to the profile.FORBID_ASCII_CONTROL
C.2.1 ASCII control charactersFORBID_ASCII_SPACES
C.1.1 ASCII space charactersFORBID_CHANGE_DISPLAY_AND_DEPRECATED
C.8 Change display properties or are deprecatedFORBID_INAPPROPRIATE_FOR_CANON_REP
C.7 Inappropriate for canonical representationFORBID_INAPPROPRIATE_FOR_PLAIN_TEXT
C.6 Inappropriate for plain text.FORBID_NON_ASCII_CONTROL
C.2.2 Non-ASCII control charactersFORBID_NON_ASCII_SPACES
C.1.2 Non-ASCII space charactersFORBID_NON_CHARACTER
C.4 Non-character code points.FORBID_PRIVATE_USE
C.3 Private useFORBID_SURROGATE
C.5 Surrogate codes.FORBID_TAGGING
C.9 Tagging charactersMAP_TO_NOTHING
B.1 Commonly mapped to nothingNORMALIZE_KC
Unicode normalization with form KC.
-
Constructor Summary
Constructors Modifier Constructor Description private
Option()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Option
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Option[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAP_TO_NOTHING
public static final Option MAP_TO_NOTHING
B.1 Commonly mapped to nothing
-
ADDITIONAL_MAPPING
public static final Option ADDITIONAL_MAPPING
Any additional mapping tables specific to the profile.
-
CASE_FOLD_NFKC
public static final Option CASE_FOLD_NFKC
B.2 Mapping for case-folding used with NFKC.
-
CASE_FOLD_NO_NORMALIZATION
public static final Option CASE_FOLD_NO_NORMALIZATION
B.3 Mapping for case-folding used with no normalization.
-
NORMALIZE_KC
public static final Option NORMALIZE_KC
Unicode normalization with form KC.
-
CHECK_BIDI
public static final Option CHECK_BIDI
Bidirectional tables.
-
FORBID_ADDITIONAL_CHARACTERS
public static final Option FORBID_ADDITIONAL_CHARACTERS
Any additional characters that are prohibited as output specific to the profile.
-
FORBID_ASCII_SPACES
public static final Option FORBID_ASCII_SPACES
C.1.1 ASCII space characters
-
FORBID_NON_ASCII_SPACES
public static final Option FORBID_NON_ASCII_SPACES
C.1.2 Non-ASCII space characters
-
FORBID_ASCII_CONTROL
public static final Option FORBID_ASCII_CONTROL
C.2.1 ASCII control characters
-
FORBID_NON_ASCII_CONTROL
public static final Option FORBID_NON_ASCII_CONTROL
C.2.2 Non-ASCII control characters
-
FORBID_PRIVATE_USE
public static final Option FORBID_PRIVATE_USE
C.3 Private use
-
FORBID_NON_CHARACTER
public static final Option FORBID_NON_CHARACTER
C.4 Non-character code points.
-
FORBID_SURROGATE
public static final Option FORBID_SURROGATE
C.5 Surrogate codes.
-
FORBID_INAPPROPRIATE_FOR_PLAIN_TEXT
public static final Option FORBID_INAPPROPRIATE_FOR_PLAIN_TEXT
C.6 Inappropriate for plain text.
-
FORBID_INAPPROPRIATE_FOR_CANON_REP
public static final Option FORBID_INAPPROPRIATE_FOR_CANON_REP
C.7 Inappropriate for canonical representation
-
FORBID_CHANGE_DISPLAY_AND_DEPRECATED
public static final Option FORBID_CHANGE_DISPLAY_AND_DEPRECATED
C.8 Change display properties or are deprecated
-
FORBID_TAGGING
public static final Option FORBID_TAGGING
C.9 Tagging characters
-
-
Method Detail
-
values
public static Option[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Option c : Option.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Option valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-