Enum Identifier.AutoQuoting

    • Enum Constant Detail

      • ENABLED

        public static final Identifier.AutoQuoting ENABLED
        Adds quotes to the given identifier and escapes any double quote characters if the provided String is not all-uppercase (does not match the pattern).
      • DISABLED

        public static final Identifier.AutoQuoting DISABLED
        Never adds any additional quotes to the provided String, never escapes any double quote characters.
    • Method Detail

      • values

        public static Identifier.AutoQuoting[] 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 (Identifier.AutoQuoting c : Identifier.AutoQuoting.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Identifier.AutoQuoting 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