org.apache.myfaces.el
public class ELParserHelper extends Object
Version: $Revision: 231425 $ $Date: 2005-08-11 13:49:45 +0200 (Thu, 11 Aug 2005) $
Nested Class Summary | |
---|---|
static class | ELParserHelper.MyArraySuffix
Override ArraySuffix.evaluate() to use our property resolver |
static class | ELParserHelper.MyPropertySuffix |
Field Summary | |
---|---|
static Logger | LOGGER |
Method Summary | |
---|---|
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.
|
index
to Integer for array types, or returns
null
for non-array types.
Parameters: base Object for the base index Object for the index
Returns: Integer a valid Integer index, or null if not an array type
Throws: ELException if exception occurs trying to coerce to Integer EvaluationException if base is array type but cannot convert index to Integer