| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.seam.actionparam.MethodExpressionParser
public class MethodExpressionParser
Parses an action expression. This expression is assumed to be of the form #{value-expression.method-name(param-list)} The (param-list) is optional. The (param-list) can be empty. ${ } notation may be used instead of #{ } Square bracket notation: i.e. value-expression[method-name] is also allowed. String literals surrounded by single or double quotes can be passed as params. example: #{register.register(user, 'login page')} Also, the entire expression can be a simple String. In this case, there is no bracket notation at all. i.e. foo
| Constructor Summary | |
|---|---|
| MethodExpressionParser(String expression) | |
| Method Summary | |
|---|---|
|  String | getBaseExpression() | 
|  String | getCombinedExpression()MethodExpression without the params. | 
|  String | getMethodName() | 
|  String[] | getParams() | 
|  String | getUnparsedExpression() | 
|  boolean | hasParamsInExpression() | 
|  boolean | isParamExpression() | 
| static boolean | isQuotedString(String str)This tells if a method param is a quoted String. | 
| static boolean | isStringLiteral(String expression)Tells if the whole expression is just a String literal. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public MethodExpressionParser(String expression)
| Method Detail | 
|---|
public String getUnparsedExpression()
public boolean hasParamsInExpression()
public String getBaseExpression()
public String getMethodName()
public String[] getParams()
public String getCombinedExpression()
public boolean isParamExpression()
public static boolean isQuotedString(String str)
public static boolean isStringLiteral(String expression)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||