public class ExpressionString extends Object
Represents an expression String consisting of a mixture of Strings and Expressions.
Constructor and Description |
---|
ExpressionString(Object[] pElements)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
evaluate(Object pContext,
VariableResolver pResolver,
Map functions,
String defaultPrefix,
Logger pLogger)
Evaluates the expression string by evaluating each element,
converting it to a String (using toString, or "" for null values)
and concatenating the results into a single String.
|
Object[] |
getElements() |
String |
getExpressionString()
Returns the expression in the expression language syntax
|
void |
setElements(Object[] pElements) |
public ExpressionString(Object[] pElements)
public Object[] getElements()
public void setElements(Object[] pElements)
public String evaluate(Object pContext, VariableResolver pResolver, Map functions, String defaultPrefix, Logger pLogger) throws ELException
ELException
public String getExpressionString()
Copyright © 2016 JBoss by Red Hat. All rights reserved.