public class FunctionExpression extends Object implements org.springframework.expression.Expression
| Constructor and Description |
|---|
FunctionExpression(String expressionStr,
org.springframework.expression.Expression[] expressions,
SpelFunction function) |
| Modifier and Type | Method and Description |
|---|---|
String |
getExpressionString() |
Object |
getValue() |
<T> T |
getValue(Class<T> desiredResultType) |
Object |
getValue(org.springframework.expression.EvaluationContext context) |
<T> T |
getValue(org.springframework.expression.EvaluationContext context,
Class<T> desiredResultType) |
Object |
getValue(org.springframework.expression.EvaluationContext context,
Object rootObject) |
<T> T |
getValue(org.springframework.expression.EvaluationContext context,
Object rootObject,
Class<T> desiredResultType) |
Object |
getValue(Object rootObject) |
<T> T |
getValue(Object rootObject,
Class<T> desiredResultType) |
Class<?> |
getValueType() |
Class<?> |
getValueType(org.springframework.expression.EvaluationContext context) |
Class<?> |
getValueType(org.springframework.expression.EvaluationContext context,
Object rootObject) |
Class<?> |
getValueType(Object rootObject) |
org.springframework.core.convert.TypeDescriptor |
getValueTypeDescriptor() |
org.springframework.core.convert.TypeDescriptor |
getValueTypeDescriptor(org.springframework.expression.EvaluationContext context) |
org.springframework.core.convert.TypeDescriptor |
getValueTypeDescriptor(org.springframework.expression.EvaluationContext context,
Object rootObject) |
org.springframework.core.convert.TypeDescriptor |
getValueTypeDescriptor(Object rootObject) |
boolean |
isWritable(org.springframework.expression.EvaluationContext context) |
boolean |
isWritable(org.springframework.expression.EvaluationContext context,
Object rootObject) |
boolean |
isWritable(Object rootObject) |
void |
setValue(org.springframework.expression.EvaluationContext context,
Object value) |
void |
setValue(org.springframework.expression.EvaluationContext context,
Object rootObject,
Object value) |
void |
setValue(Object rootObject,
Object value) |
public FunctionExpression(String expressionStr, org.springframework.expression.Expression[] expressions, SpelFunction function)
public String getExpressionString()
getExpressionString in interface org.springframework.expression.Expressionpublic Object getValue(org.springframework.expression.EvaluationContext context) throws org.springframework.expression.EvaluationException
getValue in interface org.springframework.expression.Expressionorg.springframework.expression.EvaluationExceptionpublic <T> T getValue(org.springframework.expression.EvaluationContext context,
Class<T> desiredResultType)
throws org.springframework.expression.EvaluationException
getValue in interface org.springframework.expression.Expressionorg.springframework.expression.EvaluationExceptionpublic Object getValue() throws org.springframework.expression.EvaluationException
getValue in interface org.springframework.expression.Expressionorg.springframework.expression.EvaluationExceptionpublic <T> T getValue(Class<T> desiredResultType) throws org.springframework.expression.EvaluationException
getValue in interface org.springframework.expression.Expressionorg.springframework.expression.EvaluationExceptionpublic Object getValue(Object rootObject) throws org.springframework.expression.EvaluationException
getValue in interface org.springframework.expression.Expressionorg.springframework.expression.EvaluationExceptionpublic <T> T getValue(Object rootObject, Class<T> desiredResultType) throws org.springframework.expression.EvaluationException
getValue in interface org.springframework.expression.Expressionorg.springframework.expression.EvaluationExceptionpublic Object getValue(org.springframework.expression.EvaluationContext context, Object rootObject) throws org.springframework.expression.EvaluationException
getValue in interface org.springframework.expression.Expressionorg.springframework.expression.EvaluationExceptionpublic <T> T getValue(org.springframework.expression.EvaluationContext context,
Object rootObject,
Class<T> desiredResultType)
throws org.springframework.expression.EvaluationException
getValue in interface org.springframework.expression.Expressionorg.springframework.expression.EvaluationExceptionpublic Class<?> getValueType() throws org.springframework.expression.EvaluationException
getValueType in interface org.springframework.expression.Expressionorg.springframework.expression.EvaluationExceptionpublic Class<?> getValueType(Object rootObject) throws org.springframework.expression.EvaluationException
getValueType in interface org.springframework.expression.Expressionorg.springframework.expression.EvaluationExceptionpublic Class<?> getValueType(org.springframework.expression.EvaluationContext context) throws org.springframework.expression.EvaluationException
getValueType in interface org.springframework.expression.Expressionorg.springframework.expression.EvaluationExceptionpublic Class<?> getValueType(org.springframework.expression.EvaluationContext context, Object rootObject) throws org.springframework.expression.EvaluationException
getValueType in interface org.springframework.expression.Expressionorg.springframework.expression.EvaluationExceptionpublic org.springframework.core.convert.TypeDescriptor getValueTypeDescriptor()
throws org.springframework.expression.EvaluationException
getValueTypeDescriptor in interface org.springframework.expression.Expressionorg.springframework.expression.EvaluationExceptionpublic org.springframework.core.convert.TypeDescriptor getValueTypeDescriptor(Object rootObject) throws org.springframework.expression.EvaluationException
getValueTypeDescriptor in interface org.springframework.expression.Expressionorg.springframework.expression.EvaluationExceptionpublic org.springframework.core.convert.TypeDescriptor getValueTypeDescriptor(org.springframework.expression.EvaluationContext context)
throws org.springframework.expression.EvaluationException
getValueTypeDescriptor in interface org.springframework.expression.Expressionorg.springframework.expression.EvaluationExceptionpublic org.springframework.core.convert.TypeDescriptor getValueTypeDescriptor(org.springframework.expression.EvaluationContext context,
Object rootObject)
throws org.springframework.expression.EvaluationException
getValueTypeDescriptor in interface org.springframework.expression.Expressionorg.springframework.expression.EvaluationExceptionpublic boolean isWritable(Object rootObject) throws org.springframework.expression.EvaluationException
isWritable in interface org.springframework.expression.Expressionorg.springframework.expression.EvaluationExceptionpublic boolean isWritable(org.springframework.expression.EvaluationContext context)
throws org.springframework.expression.EvaluationException
isWritable in interface org.springframework.expression.Expressionorg.springframework.expression.EvaluationExceptionpublic boolean isWritable(org.springframework.expression.EvaluationContext context,
Object rootObject)
throws org.springframework.expression.EvaluationException
isWritable in interface org.springframework.expression.Expressionorg.springframework.expression.EvaluationExceptionpublic void setValue(Object rootObject, Object value) throws org.springframework.expression.EvaluationException
setValue in interface org.springframework.expression.Expressionorg.springframework.expression.EvaluationExceptionpublic void setValue(org.springframework.expression.EvaluationContext context,
Object value)
throws org.springframework.expression.EvaluationException
setValue in interface org.springframework.expression.Expressionorg.springframework.expression.EvaluationExceptionpublic void setValue(org.springframework.expression.EvaluationContext context,
Object rootObject,
Object value)
throws org.springframework.expression.EvaluationException
setValue in interface org.springframework.expression.Expressionorg.springframework.expression.EvaluationExceptionCopyright © 2022. All rights reserved.