Enum FTFlag

  • All Implemented Interfaces:
    Serializable, Comparable<FTFlag>

    public enum FTFlag
    extends Enum<FTFlag>
    This enumeration assembles globally used full-text options.
    Author:
    BaseX Team 2005-24, BSD License, Christian Gruen
    • Enum Constant Detail

      • 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​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null