Top Fields Constructors Methods
com.sun.el.lang

public Class VariableMapperImpl

extends VariableMapper
implements Externalizable
Class Inheritance
All Implemented Interfaces
java.io.Externalizable, java.io.Serializable
Imports
java.io.Externalizable, .IOException, .ObjectInput, .ObjectOutput, java.util.HashMap, .Map, javax.el.ValueExpression, .VariableMapper

Field Summary

Modifier and TypeField and Description
private static final long
private Map<String, ValueExpression>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
readExternal(ObjectInput
the stream to read data from in order to restore the object
in
)

Implements java.io.Externalizable.readExternal.

The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays.
public ValueExpression
resolveVariable(String
The variable name
variable
)

Implements abstract javax.el.VariableMapper.resolveVariable.

public ValueExpression
setVariable(String
The variable name
variable
,
ValueExpression
The ValueExpression to be assigned to the variable.
expression
)

Implements abstract javax.el.VariableMapper.setVariable.

Assign a ValueExpression to an EL variable, replacing any previously assignment to the same variable.
public void
writeExternal(ObjectOutput
the stream to write the object to
out
)

Implements java.io.Externalizable.writeExternal.

The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID
varsback to summary
private Map<String, ValueExpression> vars

Constructor Detail

VariableMapperImplback to summary
public VariableMapperImpl()

Method Detail

readExternalback to summary
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException

Implements java.io.Externalizable.readExternal.

Doc from java.io.Externalizable.readExternal.

The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.

Parameters
in:ObjectInput

the stream to read data from in order to restore the object

Annotations
@Override
@SuppressWarnings:unchecked
Exceptions
IOException:
if I/O errors occur
ClassNotFoundException:
If the class for an object being restored cannot be found.
resolveVariableback to summary
public ValueExpression resolveVariable(String variable)

Implements abstract javax.el.VariableMapper.resolveVariable.

Parameters
variable:String

Doc from javax.el.VariableMapper.resolveVariable.

The variable name

Returns:ValueExpression

Doc from javax.el.VariableMapper.resolveVariable.

the ValueExpression assigned to the variable, null if there is no previous assignment to this variable.

Annotations
@Override
setVariableback to summary
public ValueExpression setVariable(String variable, ValueExpression expression)

Implements abstract javax.el.VariableMapper.setVariable.

Doc from javax.el.VariableMapper.setVariable.

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.

Parameters
variable:String

The variable name

expression:ValueExpression

The ValueExpression to be assigned to the variable.

Returns:ValueExpression

The previous ValueExpression assigned to this variable, null if there is no previous assignment to this variable.

Annotations
@Override
writeExternalback to summary
public void writeExternal(ObjectOutput out) throws IOException

Implements java.io.Externalizable.writeExternal.

Doc from java.io.Externalizable.writeExternal.

The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.

Parameters
out:ObjectOutput

the stream to write the object to

Annotations
@Override
Exceptions
IOException:
Includes any I/O exceptions that may occur