public class ELParserHelper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ELParserHelper.MyArraySuffix
Override ArraySuffix.evaluate() to use our property resolver
|
static class |
ELParserHelper.MyPropertySuffix |
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.el.Logger |
LOGGER |
Modifier and Type | Method and Description |
---|---|
static Object |
parseExpression(String expressionString)
Gets the parsed form of the given expression string.
|
static Integer |
toIndex(Object base,
Object index)
Coerces
index to Integer for array types, or returns
null for non-array types. |
public static Object parseExpression(String expressionString)
public static Integer toIndex(Object base, Object index) throws javax.servlet.jsp.el.ELException, javax.faces.el.EvaluationException
index
to Integer for array types, or returns
null
for non-array types.base
- Object for the baseindex
- Object for the indexjavax.servlet.jsp.el.ELException
- if exception occurs trying to coerce to Integerjavax.faces.el.EvaluationException
- if base is array type but cannot convert
index to IntegerCopyright © 2013 Apache Software Foundation. All Rights Reserved.