Class VariableMapperImpl

  • All Implemented Interfaces:
    java.io.Externalizable, java.io.Serializable

    public class VariableMapperImpl
    extends VariableMapper
    implements java.io.Externalizable
    See Also:
    Serialized Form
    • Constructor Detail

      • VariableMapperImpl

        public VariableMapperImpl()
    • Method Detail

      • resolveVariable

        public ValueExpression resolveVariable​(java.lang.String variable)
        Specified by:
        resolveVariable in class VariableMapper
        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​(java.lang.String variable,
                                           ValueExpression expression)
        Description copied from class: VariableMapper
        Assign a ValueExpression to an EL variable, replacing any previously assignment to the same variable. The assignment for the variable is removed if the expression is null.
        Specified by:
        setVariable in class VariableMapper
        Parameters:
        variable - The variable name
        expression - 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​(java.io.ObjectInput in)
                          throws java.io.IOException,
                                 java.lang.ClassNotFoundException
        Specified by:
        readExternal in interface java.io.Externalizable
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • writeExternal

        public void writeExternal​(java.io.ObjectOutput out)
                           throws java.io.IOException
        Specified by:
        writeExternal in interface java.io.Externalizable
        Throws:
        java.io.IOException