Enum Expression.Flag

    • Enum Constant Detail

      • NO_TRIM

        public static final Expression.Flag NO_TRIM
        Do not trim leading and trailing whitespace off of the expression string before parsing it.
      • LENIENT_SYNTAX

        public static final Expression.Flag LENIENT_SYNTAX
        Ignore syntax problems instead of throwing an exception.
      • MINI_EXPRS

        public static final Expression.Flag MINI_EXPRS
        Support single-character expressions that can be interpreted without wrapping in curly braces.
      • NO_RECURSE_KEY

        public static final Expression.Flag NO_RECURSE_KEY
        Do not support recursive expression expansion in the key part of the expression.
      • NO_RECURSE_DEFAULT

        public static final Expression.Flag NO_RECURSE_DEFAULT
        Do not support recursion in default values.
      • NO_SMART_BRACES

        public static final Expression.Flag NO_SMART_BRACES
        Do not support smart braces.
      • GENERAL_EXPANSION

        public static final Expression.Flag GENERAL_EXPANSION
        Support Policy file style "general" expansion alternate expression syntax. "Smart" braces will only work if the opening brace is not the first character in the expression key.
      • ESCAPES

        public static final Expression.Flag ESCAPES
        Support standard escape sequences in plain text and default value fields, which begin with a backslash ("\") character.
      • DOUBLE_COLON

        public static final Expression.Flag DOUBLE_COLON
        Treat expressions containing a double-colon delimiter as special, encoding the entire content into the key.
    • Method Detail

      • values

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

        public static Expression.Flag 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