org.basex.util.ft
Enum FTFlag

java.lang.Object
  extended by java.lang.Enum<FTFlag>
      extended by org.basex.util.ft.FTFlag
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FTFlag>

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

This enumeration assembles globally used full-text options.

Author:
BaseX Team 2005-12, BSD License, Christian Gruen

Enum Constant Summary
CS
          Sensitive flag.
DC
          Diacritics flag.
FZ
          Fuzzy flag.
LC
          Lowercase flag.
ST
          Stemming flag.
UC
          Uppercase flag.
WC
          Wildcards flag.
 
Method Summary
static FTFlag valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FTFlag[] 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

CS

public static final FTFlag CS
Sensitive flag.


LC

public static final FTFlag LC
Lowercase flag.


UC

public static final FTFlag UC
Uppercase flag.


DC

public static final FTFlag DC
Diacritics flag.


ST

public static final FTFlag ST
Stemming flag.


WC

public static final FTFlag WC
Wildcards flag.


FZ

public static final FTFlag FZ
Fuzzy flag.

Method Detail

values

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

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

valueOf

public static FTFlag 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