org.apache.myfaces.el
Class ELParserHelper
java.lang.Object
org.apache.myfaces.el.ELParserHelper
public class ELParserHelper
extends java.lang.Object
Utility class to implement support functionality to "morph" JSP EL into JSF
EL
$Revision: 231425 $ $Date: 2005-08-11 13:49:45 +0200 (Thu, 11 Aug 2005) $- Anton Koinov (latest modification by $Author: mbr $)
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.
|
LOGGER
public static final Logger LOGGER
parseExpression
public static Object parseExpression(String expressionString)
Gets the parsed form of the given expression string. Returns either an
Expression or ExpressionString.
toIndex
public static Integer toIndex(Object base,
Object index)
throws ELException,
EvaluationException
Coerces index
to Integer for array types, or returns
null
for non-array types.
base
- Object for the baseindex
- Object for the index
- Integer a valid Integer index, or null if not an array type