类的使用
cn.taketoday.expression.EvaluationException
使用EvaluationException的程序包
程序包
说明
Core abstractions behind the Spring Expression Language.
Common utility classes behind the Spring Expression Language.
SpEL's central implementation package.
SpEL's abstract syntax tree.
SpEL's standard parser implementation.
SpEL's default implementations for various core abstractions.
-
cn.taketoday.expression中EvaluationException的使用
修饰符和类型类说明classThis exception wraps (as cause) a checked exception thrown by some method that SpEL invokes.修饰符和类型方法说明intCompare two given objects.Class<?>Find a type by name.Expression.getValue()Evaluate this expression in the default standard context.Expression.getValue(EvaluationContext context) Evaluate this expression in the provided context and return the result of evaluation.<T> TExpression.getValue(EvaluationContext context, Class<T> desiredResultType) Evaluate the expression in a specified context which can resolve references to properties, methods, types, etc.Expression.getValue(EvaluationContext context, Object rootObject) Evaluate this expression in the provided context and return the result of evaluation, but use the supplied root context as an override for any default root object specified in the context.<T> TExpression.getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType) Evaluate the expression in a specified context which can resolve references to properties, methods, types, etc.<T> TEvaluate the expression in the default context.Evaluate this expression against the specified root object.<T> TEvaluate the expression in the default context against the specified root object.Class<?>Expression.getValueType()Return the most general type that can be passed to aExpression.setValue(java.lang.Object, java.lang.Object)method using the default context.Class<?>Expression.getValueType(EvaluationContext context) Return the most general type that can be passed to theExpression.setValue(EvaluationContext, Object)method for the given context.Class<?>Expression.getValueType(EvaluationContext context, Object rootObject) Return the most general type that can be passed to theExpression.setValue(EvaluationContext, Object, Object)method for the given context.Class<?>Expression.getValueType(Object rootObject) Return the most general type that can be passed to theExpression.setValue(Object, Object)method using the default context.Expression.getValueTypeDescriptor()Return the most general type that can be passed to aExpression.setValue(java.lang.Object, java.lang.Object)method using the default context.Expression.getValueTypeDescriptor(EvaluationContext context) Return the most general type that can be passed to theExpression.setValue(EvaluationContext, Object)method for the given context.Expression.getValueTypeDescriptor(EvaluationContext context, Object rootObject) Return the most general type that can be passed to theExpression.setValue(EvaluationContext, Object, Object)method for the given context.Expression.getValueTypeDescriptor(Object rootObject) Return the most general type that can be passed to theExpression.setValue(Object, Object)method using the default context.booleanExpression.isWritable(EvaluationContext context) Determine if an expression can be written to, i.e. setValue() can be called.booleanExpression.isWritable(EvaluationContext context, Object rootObject) Determine if an expression can be written to, i.e. setValue() can be called.booleanExpression.isWritable(Object rootObject) Determine if an expression can be written to, i.e. setValue() can be called.Execute the specified operation on two operands, returning a result.booleanOperatorOverloader.overridesOperation(Operation operation, Object leftOperand, Object rightOperand) Return true if the operator overloader supports the specified operation between the two operands and so should be invoked to handle it.voidExpression.setValue(EvaluationContext context, Object value) Set this expression in the provided context to the value provided.voidExpression.setValue(EvaluationContext context, Object rootObject, Object value) Set this expression in the provided context to the value provided.voidSet this expression in the provided context to the value provided. -
cn.taketoday.expression.common中EvaluationException的使用
修饰符和类型方法说明CompositeStringExpression.getValue()CompositeStringExpression.getValue(EvaluationContext context) <T> TCompositeStringExpression.getValue(EvaluationContext context, Class<T> expectedResultType) CompositeStringExpression.getValue(EvaluationContext context, Object rootObject) <T> TCompositeStringExpression.getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType) <T> T<T> T<T> TLiteralExpression.getValue(EvaluationContext context, Class<T> expectedResultType) LiteralExpression.getValue(EvaluationContext context, Object rootObject) <T> TLiteralExpression.getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType) <T> T<T> TClass<?>CompositeStringExpression.getValueType(EvaluationContext context, Object rootObject) Class<?>CompositeStringExpression.getValueType(Object rootObject) Class<?>LiteralExpression.getValueType(EvaluationContext context, Object rootObject) Class<?>LiteralExpression.getValueType(Object rootObject) CompositeStringExpression.getValueTypeDescriptor(EvaluationContext context, Object rootObject) CompositeStringExpression.getValueTypeDescriptor(Object rootObject) LiteralExpression.getValueTypeDescriptor(EvaluationContext context, Object rootObject) LiteralExpression.getValueTypeDescriptor(Object rootObject) booleanCompositeStringExpression.isWritable(EvaluationContext context, Object rootObject) booleanCompositeStringExpression.isWritable(Object rootObject) booleanLiteralExpression.isWritable(EvaluationContext context, Object rootObject) booleanLiteralExpression.isWritable(Object rootObject) voidCompositeStringExpression.setValue(EvaluationContext context, Object value) voidCompositeStringExpression.setValue(EvaluationContext context, Object rootObject, Object value) voidvoidLiteralExpression.setValue(EvaluationContext context, Object value) voidLiteralExpression.setValue(EvaluationContext context, Object rootObject, Object value) void -
cn.taketoday.expression.spel中EvaluationException的使用
修饰符和类型方法说明ExpressionState.convertValue(TypedValue value, TypeDescriptor targetTypeDescriptor) ExpressionState.convertValue(Object value, TypeDescriptor targetTypeDescriptor) Class<?>SpelNode.getTypedValue(ExpressionState expressionState) Evaluate the expression node in the context of the supplied expression state and return the typed value.abstract ObjectCompiledExpression.getValue(Object target, EvaluationContext context) Subclasses of CompiledExpression generated by SpelCompiler will provide an implementation of this method.SpelNode.getValue(ExpressionState expressionState) Evaluate the expression node in the context of the supplied expression state and return the value.booleanSpelNode.isWritable(ExpressionState expressionState) Determine if this expression node will support a setValue() call.voidSpelNode.setValue(ExpressionState expressionState, Object newValue) Evaluate the expression to a node and then set the new value on that node. -
cn.taketoday.expression.spel.ast中EvaluationException的使用
修饰符和类型方法说明final TypedValueSpelNodeImpl.getTypedValue(ExpressionState expressionState) final ObjectSpelNodeImpl.getValue(ExpressionState expressionState) protected final <T> TSpelNodeImpl.getValue(ExpressionState state, Class<T> desiredReturnType) Assign.getValueInternal(ExpressionState state) BeanReference.getValueInternal(ExpressionState state) CompoundExpression.getValueInternal(ExpressionState state) Evaluates a compound expression.ConstructorReference.getValueInternal(ExpressionState state) Implements getValue() - delegating to the code for building an array or a simple type.Elvis.getValueInternal(ExpressionState state) Evaluate the condition and if not null, return it.FunctionReference.getValueInternal(ExpressionState state) Indexer.getValueInternal(ExpressionState state) InlineList.getValueInternal(ExpressionState expressionState) InlineMap.getValueInternal(ExpressionState expressionState) MethodReference.getValueInternal(ExpressionState state) OpAnd.getValueInternal(ExpressionState state) OpDec.getValueInternal(ExpressionState state) OpDivide.getValueInternal(ExpressionState state) OpEQ.getValueInternal(ExpressionState state) OperatorBetween.getValueInternal(ExpressionState state) Returns a boolean based on whether a value is in the range expressed.OperatorInstanceof.getValueInternal(ExpressionState state) Compare the left operand to see it is an instance of the type specified as the right operand.OperatorMatches.getValueInternal(ExpressionState state) Check the first operand matches the regex specified as the second operand.OperatorNot.getValueInternal(ExpressionState state) OperatorPower.getValueInternal(ExpressionState state) OpGE.getValueInternal(ExpressionState state) OpGT.getValueInternal(ExpressionState state) OpInc.getValueInternal(ExpressionState state) OpLE.getValueInternal(ExpressionState state) OpLT.getValueInternal(ExpressionState state) OpMinus.getValueInternal(ExpressionState state) OpModulus.getValueInternal(ExpressionState state) OpMultiply.getValueInternal(ExpressionState state) Implements themultiplyoperator directly here for certain types of supported operands and otherwise delegates to any registered overloader for types not supported here.OpNE.getValueInternal(ExpressionState state) OpOr.getValueInternal(ExpressionState state) OpPlus.getValueInternal(ExpressionState state) Projection.getValueInternal(ExpressionState state) PropertyOrFieldReference.getValueInternal(ExpressionState state) QualifiedIdentifier.getValueInternal(ExpressionState state) Selection.getValueInternal(ExpressionState state) abstract TypedValueSpelNodeImpl.getValueInternal(ExpressionState expressionState) Ternary.getValueInternal(ExpressionState state) Evaluate the condition and if true evaluate the first alternative, otherwise evaluate the second alternative.TypeReference.getValueInternal(ExpressionState state) protected ValueRefCompoundExpression.getValueRef(ExpressionState state) protected ValueRefIndexer.getValueRef(ExpressionState state) protected ValueRefMethodReference.getValueRef(ExpressionState state) protected ValueRefProjection.getValueRef(ExpressionState state) PropertyOrFieldReference.getValueRef(ExpressionState state) protected ValueRefSelection.getValueRef(ExpressionState state) protected ValueRefSpelNodeImpl.getValueRef(ExpressionState state) booleanCompoundExpression.isWritable(ExpressionState state) booleanPropertyOrFieldReference.isWritable(ExpressionState state) booleanSpelNodeImpl.isWritable(ExpressionState expressionState) booleanPropertyOrFieldReference.isWritableProperty(String name, TypedValue contextObject, EvaluationContext evalContext) voidCompoundExpression.setValue(ExpressionState state, Object value) voidIndexer.setValue(ExpressionState state, Object newValue) voidPropertyOrFieldReference.setValue(ExpressionState state, Object newValue) voidSpelNodeImpl.setValue(ExpressionState expressionState, Object newValue) -
cn.taketoday.expression.spel.standard中EvaluationException的使用
修饰符和类型方法说明SpelExpression.getValue()SpelExpression.getValue(EvaluationContext context) <T> TSpelExpression.getValue(EvaluationContext context, Class<T> expectedResultType) SpelExpression.getValue(EvaluationContext context, Object rootObject) <T> TSpelExpression.getValue(EvaluationContext context, Object rootObject, Class<T> expectedResultType) <T> T<T> TClass<?>SpelExpression.getValueType()Class<?>SpelExpression.getValueType(EvaluationContext context) Class<?>SpelExpression.getValueType(EvaluationContext context, Object rootObject) Class<?>SpelExpression.getValueType(Object rootObject) SpelExpression.getValueTypeDescriptor()SpelExpression.getValueTypeDescriptor(EvaluationContext context) SpelExpression.getValueTypeDescriptor(EvaluationContext context, Object rootObject) SpelExpression.getValueTypeDescriptor(Object rootObject) booleanSpelExpression.isWritable(EvaluationContext context) booleanSpelExpression.isWritable(EvaluationContext context, Object rootObject) booleanSpelExpression.isWritable(Object rootObject) voidSpelExpression.setValue(EvaluationContext context, Object value) voidSpelExpression.setValue(EvaluationContext context, Object rootObject, Object value) void -
cn.taketoday.expression.spel.support中EvaluationException的使用
修饰符和类型方法说明Class<?>Resolve a class name.booleanStandardOperatorOverloader.overridesOperation(Operation operation, Object leftOperand, Object rightOperand)