|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.taggercat.util.ExpressionUtils
public class ExpressionUtils
A set of static utility functions used for expression evaluation.
![]() |
![]() |
![]() |
![]() |
| Field Summary | |
|---|---|
static java.util.Map<java.lang.String,java.lang.Integer> |
namedScopes
|
| Constructor Summary | |
|---|---|
ExpressionUtils()
|
|
| Method Summary | |
|---|---|
static java.lang.Object |
executeMethod(java.lang.Object startingObject,
java.lang.String methodName)
Executes an action method on the entity. |
static java.lang.Object |
executeMethod(java.lang.Object startingObject,
java.lang.String methodName,
java.lang.Object[] arguments,
java.lang.Class<?>[] parameterTypes)
Executes an action method on the entity. |
static java.lang.Object |
getBeanProperty(java.lang.Object startingObject,
java.lang.String scopedMethodName)
Gets the bean property. |
static java.lang.Object |
resolveTerm(java.lang.String term,
Model model,
javax.servlet.http.HttpServletRequest request)
Resolves the term to a scoped variable, or a data source field. |
static java.lang.Object |
resolveTerm(java.lang.String term,
Model model,
javax.servlet.http.HttpServletRequest request,
javax.servlet.jsp.PageContext pageContext)
Resolves the term to a scoped variable, or a datasource field. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.util.Map<java.lang.String,java.lang.Integer> namedScopes
| Constructor Detail |
|---|
public ExpressionUtils()
| Method Detail |
|---|
public static java.lang.Object resolveTerm(java.lang.String term,
Model model,
javax.servlet.http.HttpServletRequest request)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionterm - the dot delimited term to resolvemodel - the current model objectrequest - the current request object
public static java.lang.Object resolveTerm(java.lang.String term,
Model model,
javax.servlet.http.HttpServletRequest request,
javax.servlet.jsp.PageContext pageContext)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionterm - the dot delimited term to resolvemodel - the current model objectrequest - the current request objectpageContext - the current page context, this only applies to JSP tags
public static java.lang.Object getBeanProperty(java.lang.Object startingObject,
java.lang.String scopedMethodName)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionstartingObject - the source, or starting object to execute the method onscopedMethodName - the method name of the form = "customer.order.account.foo";
public static java.lang.Object executeMethod(java.lang.Object startingObject,
java.lang.String methodName)
throws java.lang.Exception
java.lang.ExceptionstartingObject - methodName -
public static java.lang.Object executeMethod(java.lang.Object startingObject,
java.lang.String methodName,
java.lang.Object[] arguments,
java.lang.Class<?>[] parameterTypes)
throws java.lang.Exception
java.lang.ExceptionstartingObject - the starting objectmethodName - the dot delimited method namearguments - the args
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||