Methods Summary |
---|
public java.lang.Object | coerceToType(java.lang.Object obj, java.lang.Class type)
return ELSupport.coerceToType(obj, type);
|
public javax.el.MethodExpression | createMethodExpression(javax.el.ELContext context, java.lang.String expression, java.lang.Class expectedReturnType, java.lang.Class[] expectedParamTypes)
if (expectedParamTypes == null) {
throw new NullPointerException(MessageFactory
.get("error.method.nullParms"));
}
ExpressionBuilder builder = new ExpressionBuilder(expression, context);
return builder.createMethodExpression(expectedReturnType,
expectedParamTypes);
|
public javax.el.ValueExpression | createValueExpression(javax.el.ELContext context, java.lang.String expression, java.lang.Class expectedType)
if (expectedType == null) {
throw new NullPointerException(MessageFactory
.get("error.value.expectedType"));
}
ExpressionBuilder builder = new ExpressionBuilder(expression, context);
return builder.createValueExpression(expectedType);
|
public javax.el.ValueExpression | createValueExpression(java.lang.Object instance, java.lang.Class expectedType)
if (expectedType == null) {
throw new NullPointerException(MessageFactory
.get("error.value.expectedType"));
}
return new ValueExpressionLiteral(instance, expectedType);
|