|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.el.ELParserHelper
public class ELParserHelper
Utility class to implement support functionality to "morph" JSP EL into JSF EL
Nested Class Summary | |
---|---|
static class |
ELParserHelper.MyArraySuffix
Override ArraySuffix.evaluate() to use our property resolver |
static class |
ELParserHelper.MyPropertySuffix
|
Field Summary | |
---|---|
(package private) static org.apache.commons.logging.Log |
log
|
static org.apache.commons.el.Logger |
LOGGER
|
Method Summary | |
---|---|
static java.lang.Object |
parseExpression(java.lang.String expressionString)
Gets the parsed form of the given expression string. |
(package private) static void |
replaceSuffixes(org.apache.commons.el.Expression expression)
|
static java.lang.Integer |
toIndex(java.lang.Object base,
java.lang.Object index)
Coerces index to Integer for array types, or returns
null for non-array types. |
(package private) static java.lang.String |
toJspElExpression(java.lang.String expressionString)
Convert ValueBinding syntax #{ } to JSP EL syntax ${ } |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final org.apache.commons.logging.Log log
public static final org.apache.commons.el.Logger LOGGER
Method Detail |
---|
public static java.lang.Object parseExpression(java.lang.String expressionString)
static java.lang.String toJspElExpression(java.lang.String expressionString)
expressionString
- ValueBinding
reference expression
static void replaceSuffixes(org.apache.commons.el.Expression expression)
public static java.lang.Integer toIndex(java.lang.Object base, java.lang.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 index
javax.servlet.jsp.el.ELException
- if exception occurs trying to coerce to Integer
javax.faces.el.EvaluationException
- if base is array type but cannot convert
index to Integer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |