public static enum Expression.Flag extends java.lang.Enum<Expression.Flag>
| 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.
|
| 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.
|
public static final Expression.Flag NO_TRIM
public static final Expression.Flag LENIENT_SYNTAX
public static final Expression.Flag MINI_EXPRS
public static final Expression.Flag NO_RECURSE_KEY
public static final Expression.Flag NO_RECURSE_DEFAULT
public static final Expression.Flag NO_SMART_BRACES
public static final Expression.Flag GENERAL_EXPANSION
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.public static final Expression.Flag ESCAPES
\") character.public static final Expression.Flag DOUBLE_COLON
public static Expression.Flag[] values()
for (Expression.Flag c : Expression.Flag.values()) System.out.println(c);
public static Expression.Flag valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2018 JBoss, a division of Red Hat, Inc.