${ ... }".
| Modifier and Type | Class and Description |
|---|---|
| public static enum | Expression.
Flags that can apply to a property expression compilation |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private final Node | |
| private static final Expression | |
| private static final EnumSet | |
| private final Set |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static Expression | Returns: the compiled expression (notnull)the expression string (must not be string, Expression.null)optional flags to apply which affect the compilation flagsCompile an expression string. |
| public static Expression | Returns: the compiled expression (notnull)the expression string (must not be string, EnumSet<Expression.null)optional flags to apply which affect the compilation (must not be flagsnull)Compile an expression string. |
| public String | Returns: the expanded stringthe expansion function to apply (must not be expandFunction)null)Evaluate the expression with the given expansion function. |
| public < the exception type thrown by the expansion function E extends Exception> String | Returns: the expanded stringthe expansion function to apply (must not be expandFunction)null)Evaluate the expression with the given expansion function, which may throw a checked exception. |
| public String | Returns: the expanded stringtrue to throw an IllegalArgumentException if an unresolvable key has no
default value; false to expand such keys to an empty stringEvaluate the expression using a default expansion function that evaluates environment properties. |
| public String | Returns: the expanded stringtrue to throw an IllegalArgumentException if an unresolvable key has no
default value; false to expand such keys to an empty stringEvaluate the expression using a default expansion function that evaluates system properties. |
| public String | Returns: the expanded stringtrue to throw an IllegalArgumentException if an unresolvable key has no
default value; false to expand such keys to an empty stringEvaluate the expression using a default expansion function that evaluates system and environment properties
in the JBoss style (i.e. using the prefix |
| public Set | Returns: the immutable set of strings (notnull)Get the immutable set of string keys that are referenced by expressions in this compiled expression. |
| private static IllegalArgumentException | |
| private static Node | parseString(Expression.
|
| content | back to summary |
|---|---|
| private final Node content | |
| EMPTY | back to summary |
|---|---|
| private static final Expression EMPTY | |
| NO_FLAGS | back to summary |
|---|---|
| private static final EnumSet<Expression. | |
| referencedStrings | back to summary |
|---|---|
| private final Set<String> referencedStrings | |
| Expression | back to summary |
|---|---|
| pack-priv Expression(Node content) | |
| compile | back to summary |
|---|---|
| public static Expression compile(String string, Expression. Compile an expression string.
| |
| compile | back to summary |
|---|---|
| public static Expression compile(String string, EnumSet<Expression. Compile an expression string.
| |
| evaluate | back to summary |
|---|---|
| public String evaluate(BiConsumer<ResolveContext<RuntimeException>, StringBuilder> expandFunction) Evaluate the expression with the given expansion function. The given "function"
is a predicate which returns
| |
| evaluateException | back to summary |
|---|---|
| public <E extends Exception> String evaluateException(final ExceptionBiConsumer<ResolveContext<E>, StringBuilder, E> expandFunction) throws ExceptionBiConsumer-:E Evaluate the expression with the given expansion function, which may throw a checked exception. The given "function"
is a predicate which returns
| |
| evaluateWithEnvironment | back to summary |
|---|---|
| public String evaluateWithEnvironment(boolean failOnNoDefault) Evaluate the expression using a default expansion function that evaluates environment properties. The caller must have all required security manager permissions.
| |
| evaluateWithProperties | back to summary |
|---|---|
| public String evaluateWithProperties(boolean failOnNoDefault) Evaluate the expression using a default expansion function that evaluates system properties. The caller must have all required security manager permissions.
| |
| evaluateWithPropertiesAndEnvironment | back to summary |
|---|---|
| public String evaluateWithPropertiesAndEnvironment(boolean failOnNoDefault) Evaluate the expression using a default expansion function that evaluates system and environment properties
in the JBoss style (i.e. using the prefix
| |
| getReferencedStrings | back to summary |
|---|---|
| public Set Get the immutable set of string keys that are referenced by expressions in this compiled expression. If there
are no expansions in this expression, the set is empty. Note that this will not include any string keys
that themselves contain expressions, in the case that | |
| invalidExpressionSyntax | back to summary |
|---|---|
| private static IllegalArgumentException invalidExpressionSyntax(final String string, final int index) | |
| parseString | back to summary |
|---|---|
| private static Node parseString(Expression. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Expression. | DOUBLE_COLON
Treat expressions containing a double-colon delimiter as special, encoding the entire content into the key. |
| public static final Expression. | ESCAPES
Support standard escape sequences in plain text and default value fields, which begin with a backslash (" |
| public static final Expression. | GENERAL_EXPANSION
Support |
| public static final Expression. | LENIENT_SYNTAX
Ignore syntax problems instead of throwing an exception. |
| public static final Expression. | MINI_EXPRS
Support single-character expressions that can be interpreted without wrapping in curly braces. |
| public static final Expression. | NO_$$
Escaping |
| public static final Expression. | NO_RECURSE_DEFAULT
Do not support recursion in default values. |
| public static final Expression. | NO_RECURSE_KEY
Do not support recursive expression expansion in the key part of the expression. |
| public static final Expression. | NO_SMART_BRACES
Do not support smart braces. |
| public static final Expression. | NO_TRIM
Do not trim leading and trailing whitespace off of the expression string before parsing it. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Expression. | |
| public static Expression. |
| DOUBLE_COLON | back to summary |
|---|---|
| public static final Expression. Treat expressions containing a double-colon delimiter as special, encoding the entire content into the key. | |
| ESCAPES | back to summary |
|---|---|
| public static final Expression. Support standard escape sequences in plain text and default value fields, which begin with a backslash (" | |
| GENERAL_EXPANSION | back to summary |
|---|---|
| public static final Expression. Support | |
| LENIENT_SYNTAX | back to summary |
|---|---|
| public static final Expression. Ignore syntax problems instead of throwing an exception. | |
| MINI_EXPRS | back to summary |
|---|---|
| public static final Expression. Support single-character expressions that can be interpreted without wrapping in curly braces. | |
| NO_$$ | back to summary |
|---|---|
| public static final Expression. Escaping | |
| NO_RECURSE_DEFAULT | back to summary |
|---|---|
| public static final Expression. Do not support recursion in default values. | |
| NO_RECURSE_KEY | back to summary |
|---|---|
| public static final Expression. Do not support recursive expression expansion in the key part of the expression. | |
| NO_SMART_BRACES | back to summary |
|---|---|
| public static final Expression. Do not support smart braces. | |
| NO_TRIM | back to summary |
|---|---|
| public static final Expression. Do not trim leading and trailing whitespace off of the expression string before parsing it. | |
| Flag | back to summary |
|---|---|
| private Flag() | |
| valueOf | back to summary |
|---|---|
| public static Expression. | |
| values | back to summary |
|---|---|
| public static Expression. | |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv int | |
| pack-priv int | |
| pack-priv String | |
| pack-priv boolean | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv void |
| Itr | back to summary |
|---|---|
| pack-priv Itr(final String str) | |
| getNextIdx | back to summary |
|---|---|
| pack-priv int getNextIdx() | |
| getPrevIdx | back to summary |
|---|---|
| pack-priv int getPrevIdx() | |
| getStr | back to summary |
|---|---|
| pack-priv String getStr() | |
| hasNext | back to summary |
|---|---|
| pack-priv boolean hasNext() | |
| next | back to summary |
|---|---|
| pack-priv int next() | |
| peekNext | back to summary |
|---|---|
| pack-priv int peekNext() | |
| peekPrev | back to summary |
|---|---|
| pack-priv int peekPrev() | |
| prev | back to summary |
|---|---|
| pack-priv int prev() | |
| rewind | back to summary |
|---|---|
| pack-priv void rewind(final int newNext) | |