Package org.jdesktop.el.impl.lang
Class VariableMapperImpl
- java.lang.Object
-
- org.jdesktop.el.VariableMapper
-
- org.jdesktop.el.impl.lang.VariableMapperImpl
-
- All Implemented Interfaces:
Externalizable,Serializable
public class VariableMapperImpl extends VariableMapper implements Externalizable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VariableMapperImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreadExternal(ObjectInput in)ValueExpressionresolveVariable(String variable)ValueExpressionsetVariable(String variable, ValueExpression expression)Assign a ValueExpression to an EL variable, replacing any previously assignment to the same variable.voidwriteExternal(ObjectOutput out)
-
-
-
Method Detail
-
resolveVariable
public ValueExpression resolveVariable(String variable)
- Specified by:
resolveVariablein classVariableMapper- Parameters:
variable- The variable name- Returns:
- the ValueExpression assigned to the variable, null if there is no previous assignment to this variable.
-
setVariable
public ValueExpression setVariable(String variable, ValueExpression expression)
Description copied from class:VariableMapperAssign a ValueExpression to an EL variable, replacing any previously assignment to the same variable. The assignment for the variable is removed if the expression isnull.- Specified by:
setVariablein classVariableMapper- Parameters:
variable- The variable nameexpression- The ValueExpression to be assigned to the variable.- Returns:
- The previous ValueExpression assigned to this variable, null if there is no previouse assignment to this variable.
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
-