Enum Expression.Flag

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Expression.Flag>
    Enclosing class:
    Expression

    public static enum Expression.Flag
    extends java.lang.Enum<Expression.Flag>
    Flags that can apply to a property expression compilation
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      DOUBLE_COLON
      Treat expressions containing a double-colon delimiter as special, encoding the entire content into the key.
      ESCAPES
      Support standard escape sequences in plain text and default value fields, which begin with a backslash ("\") character.
      GENERAL_EXPANSION
      Support Policy file style "general" expansion alternate expression syntax.
      LENIENT_SYNTAX
      Ignore syntax problems instead of throwing an exception.
      MINI_EXPRS
      Support single-character expressions that can be interpreted without wrapping in curly braces.
      NO_RECURSE_DEFAULT
      Do not support recursion in default values.
      NO_RECURSE_KEY
      Do not support recursive expression expansion in the key part of the expression.
      NO_SMART_BRACES
      Do not support smart braces.
      NO_TRIM
      Do not trim leading and trailing whitespace off of the expression string before parsing it.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Expression.Flag valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static Expression.Flag[] 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

      • 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​(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