onig4j
Enum OnigCaseFoldType

java.lang.Object
  extended by java.lang.Enum<OnigCaseFoldType>
      extended by onig4j.OnigCaseFoldType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OnigCaseFoldType>

public enum OnigCaseFoldType
extends java.lang.Enum<OnigCaseFoldType>

OnigCaseFoldType enum class.

See Also:
Oniguruma, 鬼車

Enum Constant Summary
ONIGENC_CASE_FOLD_HIRAGANA_KATAKANA
          Not implemented in the Oniguruma version 5.9.1 yet.
ONIGENC_CASE_FOLD_KATAKANA_WIDTH
          Not implemented in the Oniguruma version 5.9.1 yet.
ONIGENC_CASE_FOLD_MIN
          minimum
ONIGENC_CASE_FOLD_TURKISH_AZERI
          case fold type for Turkish and Azerbaijan language.
NOTE: The Oniguruma library where USE_UNICODE_CASE_FOLD_TURKISH_AZERI was enabled is necessary.
 
Field Summary
static int ONIGENC_GET_CASE_FOLD_CODES_MAX_NUM
           
static int ONIGENC_MAX_COMP_CASE_FOLD_CODE_LEN
           
 
Method Summary
static java.util.EnumSet<OnigCaseFoldType> getDefaultCaseFoldType()
          invoke onig_get_default_case_fold_flag() function.
static void setDefaultCaseFoldType(java.util.Collection<OnigCaseFoldType> flags)
          invoke onig_set_default_case_fold_flag() function.
static void setDefaultCaseFoldType(OnigCaseFoldType... flags)
          invoke onig_set_default_case_fold_flag() function.
static OnigCaseFoldType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OnigCaseFoldType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ONIGENC_CASE_FOLD_HIRAGANA_KATAKANA

public static final OnigCaseFoldType ONIGENC_CASE_FOLD_HIRAGANA_KATAKANA
Not implemented in the Oniguruma version 5.9.1 yet.


ONIGENC_CASE_FOLD_KATAKANA_WIDTH

public static final OnigCaseFoldType ONIGENC_CASE_FOLD_KATAKANA_WIDTH
Not implemented in the Oniguruma version 5.9.1 yet.


ONIGENC_CASE_FOLD_TURKISH_AZERI

public static final OnigCaseFoldType ONIGENC_CASE_FOLD_TURKISH_AZERI
case fold type for Turkish and Azerbaijan language.
NOTE: The Oniguruma library where USE_UNICODE_CASE_FOLD_TURKISH_AZERI was enabled is necessary.


ONIGENC_CASE_FOLD_MIN

public static final OnigCaseFoldType ONIGENC_CASE_FOLD_MIN
minimum

Field Detail

ONIGENC_MAX_COMP_CASE_FOLD_CODE_LEN

public static final int ONIGENC_MAX_COMP_CASE_FOLD_CODE_LEN
See Also:
Constant Field Values

ONIGENC_GET_CASE_FOLD_CODES_MAX_NUM

public static final int ONIGENC_GET_CASE_FOLD_CODES_MAX_NUM
See Also:
Constant Field Values
Method Detail

values

public static OnigCaseFoldType[] 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 (OnigCaseFoldType c : OnigCaseFoldType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static OnigCaseFoldType 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 name
java.lang.NullPointerException - if the argument is null

getDefaultCaseFoldType

public static java.util.EnumSet<OnigCaseFoldType> getDefaultCaseFoldType()
invoke onig_get_default_case_fold_flag() function.

Returns:
The default case fold flag

setDefaultCaseFoldType

public static void setDefaultCaseFoldType(OnigCaseFoldType... flags)
invoke onig_set_default_case_fold_flag() function.

Parameters:
flags - The default case fold flag

setDefaultCaseFoldType

public static void setDefaultCaseFoldType(java.util.Collection<OnigCaseFoldType> flags)
invoke onig_set_default_case_fold_flag() function.

Parameters:
flags - The default case fold flag