public class ValueExpressionResolver
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static int |
DEFAULT |
static ValueExpressionResolver |
DEFAULT_RESOLVER
The default value expression resolver.
|
private static int |
GOT_DOLLAR |
private static int |
GOT_OPEN_BRACE |
private static int |
INITIAL |
private static int |
RESOLVED |
| Constructor and Description |
|---|
ValueExpressionResolver()
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
resolve(ValueExpression expression)
Perform expression resolution.
|
protected java.lang.String |
resolvePart(java.lang.String name)
Resolve a single name in the expression.
|
public static final ValueExpressionResolver DEFAULT_RESOLVER
private static final int INITIAL
private static final int GOT_DOLLAR
private static final int GOT_OPEN_BRACE
private static final int RESOLVED
private static final int DEFAULT
public ValueExpressionResolver()
public java.lang.String resolve(ValueExpression expression)
expression - the expression to resolveprotected java.lang.String resolvePart(java.lang.String name)
null if no resolution is possible. The default
implementation (which may be delegated to) checks system properties, environment variables, and a small set of
special strings.name - the name to resolvenull for none