类 javax.el.ELException
的使用

使用 ELException 的软件包
com.sun.el   
com.sun.el.lang   
com.sun.el.parser   
com.sun.el.util   
javax.el Provides the API for the Unified Expression Language 2.2 used by the JSP 2.2 and JSF 2.0 technologies. 
org.apache.jasper.compiler   
org.apache.jasper.runtime   
 

com.sun.elELException 的使用
 

抛出 ELExceptioncom.sun.el 中的方法
 MethodInfo MethodExpressionLiteral.getMethodInfo(ELContext context)
           
 MethodInfo MethodExpressionImpl.getMethodInfo(ELContext context)
          Evaluates the expression relative to the provided context, and returns information about the actual referenced method.
 Class ValueExpressionImpl.getType(ELContext context)
           
 Object ValueExpressionImpl.getValue(ELContext context)
           
 ValueReference ValueExpressionImpl.getValueReference(ELContext context)
           
 Object MethodExpressionLiteral.invoke(ELContext context, Object[] params)
           
 Object MethodExpressionImpl.invoke(ELContext context, Object[] params)
          Evaluates the expression relative to the provided context, invokes the method that was found using the supplied parameters, and returns the result of the method invocation.
 boolean ValueExpressionImpl.isReadOnly(ELContext context)
           
 void ValueExpressionImpl.setValue(ELContext context, Object value)
           
 

com.sun.el.langELException 的使用
 

抛出 ELExceptioncom.sun.el.lang 中的方法
static int ELSupport.compare(Object obj0, Object obj1)
           
 MethodExpression ExpressionBuilder.createMethodExpression(Class expectedReturnType, Class[] expectedParamTypes)
           
static Node ExpressionBuilder.createNode(String expr)
           
 ValueExpression ExpressionBuilder.createValueExpression(Class expectedType)
           
static boolean ELSupport.equals(Object obj0, Object obj1)
           
static void ELSupport.throwUnhandled(Object base, Object property)
           
 void ExpressionBuilder.visit(Node node)
           
 

抛出 ELExceptioncom.sun.el.lang 中的构造方法
ExpressionBuilder(String expression, ELContext ctx)
           
 

com.sun.el.parserELException 的使用
 

抛出 ELExceptioncom.sun.el.parser 中的方法
 void SimpleNode.accept(NodeVisitor visitor)
           
 void Node.accept(NodeVisitor visitor)
           
 MethodInfo SimpleNode.getMethodInfo(EvaluationContext ctx, Class[] paramTypes)
           
 MethodInfo Node.getMethodInfo(EvaluationContext ctx, Class[] paramTypes)
           
 MethodInfo AstValue.getMethodInfo(EvaluationContext ctx, Class[] paramTypes)
           
 MethodInfo AstIdentifier.getMethodInfo(EvaluationContext ctx, Class[] paramTypes)
           
 Class SimpleNode.getType(EvaluationContext ctx)
           
 Class Node.getType(EvaluationContext ctx)
           
 Class BooleanNode.getType(EvaluationContext ctx)
           
 Class AstValue.getType(EvaluationContext ctx)
           
 Class AstString.getType(EvaluationContext ctx)
           
 Class AstNull.getType(EvaluationContext ctx)
           
 Class AstNot.getType(EvaluationContext ctx)
           
 Class AstNegative.getType(EvaluationContext ctx)
           
 Class AstLiteralExpression.getType(EvaluationContext ctx)
           
 Class AstInteger.getType(EvaluationContext ctx)
           
 Class AstIdentifier.getType(EvaluationContext ctx)
           
 Class AstFunction.getType(EvaluationContext ctx)
           
 Class AstFloatingPoint.getType(EvaluationContext ctx)
           
 Class AstEmpty.getType(EvaluationContext ctx)
           
 Class AstDynamicExpression.getType(EvaluationContext ctx)
           
 Class AstDeferredExpression.getType(EvaluationContext ctx)
           
 Class AstCompositeExpression.getType(EvaluationContext ctx)
           
 Class AstChoice.getType(EvaluationContext ctx)
           
 Class ArithmeticNode.getType(EvaluationContext ctx)
           
 Object SimpleNode.getValue(EvaluationContext ctx)
           
 Object Node.getValue(EvaluationContext ctx)
           
 Object AstValue.getValue(EvaluationContext ctx)
           
 Object AstTrue.getValue(EvaluationContext ctx)
           
 Object AstString.getValue(EvaluationContext ctx)
           
 Object AstPropertySuffix.getValue(EvaluationContext ctx)
           
 Object AstPlus.getValue(EvaluationContext ctx)
           
 Object AstOr.getValue(EvaluationContext ctx)
           
 Object AstNull.getValue(EvaluationContext ctx)
           
 Object AstNotEqual.getValue(EvaluationContext ctx)
           
 Object AstNot.getValue(EvaluationContext ctx)
           
 Object AstNegative.getValue(EvaluationContext ctx)
           
 Object AstMult.getValue(EvaluationContext ctx)
           
 Object AstMod.getValue(EvaluationContext ctx)
           
 Object AstMinus.getValue(EvaluationContext ctx)
           
 Object AstLiteralExpression.getValue(EvaluationContext ctx)
           
 Object AstLessThanEqual.getValue(EvaluationContext ctx)
           
 Object AstLessThan.getValue(EvaluationContext ctx)
           
 Object AstInteger.getValue(EvaluationContext ctx)
           
 Object AstIdentifier.getValue(EvaluationContext ctx)
           
 Object AstGreaterThanEqual.getValue(EvaluationContext ctx)
           
 Object AstGreaterThan.getValue(EvaluationContext ctx)
           
 Object AstFunction.getValue(EvaluationContext ctx)
           
 Object AstFloatingPoint.getValue(EvaluationContext ctx)
           
 Object AstFalse.getValue(EvaluationContext ctx)
           
 Object AstEqual.getValue(EvaluationContext ctx)
           
 Object AstEmpty.getValue(EvaluationContext ctx)
           
 Object AstDynamicExpression.getValue(EvaluationContext ctx)
           
 Object AstDotSuffix.getValue(EvaluationContext ctx)
           
 Object AstDiv.getValue(EvaluationContext ctx)
           
 Object AstDeferredExpression.getValue(EvaluationContext ctx)
           
 Object AstCompositeExpression.getValue(EvaluationContext ctx)
           
 Object AstChoice.getValue(EvaluationContext ctx)
           
 Object AstBracketSuffix.getValue(EvaluationContext ctx)
           
 Object AstAnd.getValue(EvaluationContext ctx)
           
 ValueReference AstIdentifier.getValuereference(EvaluationContext ctx)
           
 ValueReference SimpleNode.getValueReference(EvaluationContext ctx)
           
 ValueReference Node.getValueReference(EvaluationContext ctx)
           
 ValueReference AstValue.getValueReference(EvaluationContext ctx)
           
 Object SimpleNode.invoke(EvaluationContext ctx, Class[] paramTypes, Object[] paramValues)
           
 Object Node.invoke(EvaluationContext ctx, Class[] paramTypes, Object[] paramValues)
           
 Object AstValue.invoke(EvaluationContext ctx, Class[] paramTypes, Object[] paramValues)
           
 Object AstIdentifier.invoke(EvaluationContext ctx, Class[] paramTypes, Object[] paramValues)
           
 Object AstChoice.invoke(EvaluationContext ctx, Class[] paramTypes, Object[] paramValues)
           
 boolean SimpleNode.isReadOnly(EvaluationContext ctx)
           
 boolean Node.isReadOnly(EvaluationContext ctx)
           
 boolean AstValue.isReadOnly(EvaluationContext ctx)
           
 boolean AstIdentifier.isReadOnly(EvaluationContext ctx)
           
 boolean AstDynamicExpression.isReadOnly(EvaluationContext ctx)
           
 boolean AstDeferredExpression.isReadOnly(EvaluationContext ctx)
           
 boolean AstChoice.isReadOnly(EvaluationContext ctx)
           
static Node ELParser.parse(String ref)
           
 void SimpleNode.setValue(EvaluationContext ctx, Object value)
           
 void Node.setValue(EvaluationContext ctx, Object value)
           
 void AstValue.setValue(EvaluationContext ctx, Object value)
           
 void AstIdentifier.setValue(EvaluationContext ctx, Object value)
           
 void AstDynamicExpression.setValue(EvaluationContext ctx, Object value)
           
 void AstDeferredExpression.setValue(EvaluationContext ctx, Object value)
           
 void AstChoice.setValue(EvaluationContext ctx, Object value)
           
 void NodeVisitor.visit(Node node)
           
 

com.sun.el.utilELException 的使用
 

抛出 ELExceptioncom.sun.el.util 中的方法
static Method ReflectionUtil.findMethod(Object base, Object property, Object[] params)
           
static PropertyDescriptor ReflectionUtil.getPropertyDescriptor(Object base, Object property)
           
static Object ReflectionUtil.invokeMethod(Object base, Object property, Object[] params)
          Invoke a method with parameters.
 

javax.elELException 的使用
 

javax.elELException 的子类
 class MethodNotFoundException
          Thrown when a method could not be found while evaluating a MethodExpression.
 class PropertyNotFoundException
          Thrown when a property could not be found while evaluating a ValueExpression or MethodExpression.
 class PropertyNotWritableException
          Thrown when a property could not be written to while setting the value on a ValueExpression.
 

org.apache.jasper.compilerELException 的使用
 

抛出 ELExceptionorg.apache.jasper.compiler 中的方法
static Object JspUtil.coerce(Class targetType, String value)
           
 

org.apache.jasper.runtimeELException 的使用
 

抛出 ELExceptionorg.apache.jasper.runtime 中的方法
static Object PageContextImpl.evaluateExpression(String expression, Class expectedType, PageContext pageContext, ProtectedFunctionMapper functionMap)
          Evaluates an EL expression
 



Copyright © 2013. All Rights Reserved.