org.apache.myfaces.el
Class ELParserHelper
java.lang.Object
org.apache.myfaces.el.ELParserHelper
public class ELParserHelper
- extends Object
Utility class to implement support functionality to "morph" JSP EL into JSF
EL
- Version:
- $Revision: 673803 $ $Date: 2008-07-03 16:07:46 -0500 (Thu, 03 Jul 2008) $
- Author:
- Anton Koinov (latest modification by $Author: skitching $)
Field Summary |
static org.apache.commons.el.Logger |
LOGGER
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER
public static final org.apache.commons.el.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 javax.servlet.jsp.el.ELException,
EvaluationException
- Coerces
index
to Integer for array types, or returns
null
for non-array types.
- Parameters:
base
- Object for the baseindex
- Object for the index
- Returns:
- Integer a valid Integer index, or null if not an array type
- Throws:
javax.servlet.jsp.el.ELException
- if exception occurs trying to coerce to Integer
EvaluationException
- if base is array type but cannot convert
index to Integer
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.