Package | Description |
---|---|
org.apache.commons.betwixt |
This package contains the main betwixt introspection code.
|
org.apache.commons.betwixt.expression |
This package contains the system which extracts values from beans.
|
Modifier and Type | Field and Description |
---|---|
private Expression |
ElementDescriptor.contextExpression
the expression used to evaluate the new context of this node
or null if the same context is to be used
|
private Expression |
NodeDescriptor.textExpression
the expression used to evaluate the text value of this node
|
Modifier and Type | Method and Description |
---|---|
Expression |
ElementDescriptor.getContextExpression()
Returns the expression used to evaluate the new context of this element.
|
Expression |
NodeDescriptor.getTextExpression()
Gets the expression used to evaluate the text value of this node
for a particular
Context . |
Modifier and Type | Method and Description |
---|---|
void |
ElementDescriptor.setContextExpression(Expression contextExpression)
Sets the expression used to evaluate the new context of this element
|
void |
NodeDescriptor.setTextExpression(Expression textExpression)
Sets the expression used to evaluate the text value of this node
for a particular
Context |
Modifier and Type | Class and Description |
---|---|
class |
ConstantExpression
ConstantExpression represents a constant expression. |
class |
EmptyExpression
EmptyExpression returns the same value as is passed in. |
class |
IteratorExpression
IteratorExpression returns an iterator over the current context. |
class |
MethodExpression
MethodExpression evaluates a method on the current bean context. |
class |
StringExpression
StringExpression returns the current context object as a string. |
class |
VariableExpression
VariableExpression represents a variable expression such as
$foo which returns the value of the given variable. |
Modifier and Type | Field and Description |
---|---|
private Expression |
IteratorExpression.expression
Use this
Expression to perform initial evaluation |
Constructor and Description |
---|
IteratorExpression(Expression expression)
Construct
IteratorExpression using given expression for initial evaluation. |