public class ParameterMacroExpressionParser extends Object implements com.tangosol.config.expression.ExpressionParser
ParameterMacroExpressionParser
is an ExpressionParser
for Coherence Parameter Macros.Modifier and Type | Field and Description |
---|---|
static com.tangosol.config.expression.ExpressionParser |
INSTANCE
The singleton instance of the
ParameterMacroExpressionParser . |
Constructor and Description |
---|
ParameterMacroExpressionParser() |
Modifier and Type | Method and Description |
---|---|
<T> com.tangosol.config.expression.Expression<T> |
parse(String sExpression,
Class<T> clzResultType)
Attempts to parse the provided
String to produce an Expression of an expected type. |
public static final com.tangosol.config.expression.ExpressionParser INSTANCE
ParameterMacroExpressionParser
.public <T> com.tangosol.config.expression.Expression<T> parse(String sExpression, Class<T> clzResultType) throws ParseException
String
to produce an Expression
of an expected type.parse
in interface com.tangosol.config.expression.ExpressionParser
sExpression
- the String
representation of the Expression
clzResultType
- the type of value the Expression
will return when evaluatedExpression
that will when evaluated will produce the required typeParseException
- when an error occurred attempting to parse the String