public interface

Expression

org.apache.commons.betwixt.expression.Expression
Known Indirect Subclasses

Class Overview

Expression represents an arbitrary expression on a bean.

Summary

Public Methods
abstract Object evaluate(Context context)
Evaluates the expression on the bean with the given context and returns the result
abstract void update(Context context, String newValue)
This method is deprecated. 0.5 use Updater instead

Public Methods

public abstract Object evaluate (Context context)

Evaluates the expression on the bean with the given context and returns the result

Parameters
context evaluate against this Context
Returns
  • the value of the expression

public abstract void update (Context context, String newValue)

This method is deprecated.
0.5 use Updater instead

Updates the current bean context with a new String value. This is typically used when parsing XML and updating a beans value from XML.

Parameters
context update this Context
newValue the new value for this expression