Class ValueExpressionLiteral
java.lang.Object
jakarta.el.Expression
jakarta.el.ValueExpression
org.apache.el.ValueExpressionLiteral
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
Class
<?> Class
<?> <T> T
int
hashCode()
boolean
boolean
isReadOnly
(ELContext context) void
void
void
Methods inherited from class jakarta.el.ValueExpression
getValueReference
-
Constructor Details
-
ValueExpressionLiteral
public ValueExpressionLiteral() -
ValueExpressionLiteral
-
-
Method Details
-
getValue
- Specified by:
getValue
in classValueExpression
- Type Parameters:
T
- The expected type for the result of evaluating this value expression- Parameters:
context
- The EL context for this evaluation- Returns:
- The result of evaluating this value expression
-
setValue
- Specified by:
setValue
in classValueExpression
- Parameters:
context
- The EL context for this evaluationvalue
- The value to set the property to which this value expression refers
-
isReadOnly
- Specified by:
isReadOnly
in classValueExpression
- Parameters:
context
- The EL context for this evaluation- Returns:
true
if this expression is read only otherwisefalse
-
getType
- Specified by:
getType
in classValueExpression
- Parameters:
context
- The EL context for this evaluation- Returns:
- The type of the result of this value expression
-
getExpectedType
- Specified by:
getExpectedType
in classValueExpression
-
getExpressionString
- Specified by:
getExpressionString
in classExpression
-
equals
- Specified by:
equals
in classExpression
-
equals
-
hashCode
public int hashCode()- Specified by:
hashCode
in classExpression
-
isLiteralText
public boolean isLiteralText()- Specified by:
isLiteralText
in classExpression
-
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-