Class ValueReference

java.lang.Object
jakarta.el.ValueReference
All Implemented Interfaces:
Serializable

public class ValueReference extends Object implements Serializable
Holds a reference to a resolved property, consisting of a base object and a property identifier. This class is used to capture the result of property resolution during EL evaluation, allowing the caller to perform additional operations on the resolved property.
Since:
EL 2.2
See Also:
  • Constructor Details

    • ValueReference

      public ValueReference(Object base, Object property)
      Constructs a new value reference with the given base object and property.
      Parameters:
      base - The base object on which the property was resolved
      property - The property identifier
  • Method Details

    • getBase

      public Object getBase()
      Returns the base object on which the property was resolved.
      Returns:
      The base object
    • getProperty

      public Object getProperty()
      Returns the property identifier.
      Returns:
      The property identifier