public class VariableMapperImpl extends VariableMapper implements Externalizable
Constructor and Description |
---|
VariableMapperImpl() |
Modifier and Type | Method and Description |
---|---|
void |
readExternal(ObjectInput in) |
ValueExpression |
resolveVariable(String variable) |
ValueExpression |
setVariable(String variable,
ValueExpression expression)
Assign a ValueExpression to an Jakarta Expression Language variable, replacing any previously assignment to the same
variable.
|
void |
writeExternal(ObjectOutput out) |
public ValueExpression resolveVariable(String variable)
resolveVariable
in class VariableMapper
variable
- The variable namepublic ValueExpression setVariable(String variable, ValueExpression expression)
VariableMapper
null
.setVariable
in class VariableMapper
variable
- The variable nameexpression
- The ValueExpression to be assigned to the variable.public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
Copyright © 2022. All rights reserved.