Package | Description |
---|---|
net.sourceforge.stripes.util.bean |
This package contains classes which implement a limited subset of an expression
language for dealing with an extended JavaBean property syntax.
|
Modifier and Type | Class and Description |
---|---|
class |
NoSuchPropertyException
Exception indicating that an expression could not be evaluated against a bean because
the bean (or some sub-property of the bean) did not have a property matching the name
supplied in the expression.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Class<?> |
BeanUtil.getPropertyType(java.lang.String expression,
java.lang.Object bean)
Attempts to determine the type of the property specified by the property expression
in the context of the supplied bean.
|
static java.lang.Object |
BeanUtil.getPropertyValue(java.lang.String expression,
java.lang.Object bean)
Attempts to fetch the property specified by the property expression
in the context of the supplied bean.
|
protected java.lang.reflect.Type |
PropertyExpressionEvaluation.getTypeViaInstances(NodeEvaluation end)
Determines the type of the supplied node and sets appropriate information on the node.
|
java.lang.Object |
JavaBeanPropertyAccessor.getValue(NodeEvaluation evaluation,
java.lang.Object bean)
Fetches the specified property value from the bean if it exists.
|
static void |
BeanUtil.setPropertyToNull(java.lang.String expression,
java.lang.Object bean)
Attempts to set the property to null or an equivalent value.
|
static void |
BeanUtil.setPropertyValue(java.lang.String expression,
java.lang.Object bean,
java.lang.Object value)
Attempts to set the property specified by the property expression
in the context of the supplied bean.
|
void |
PropertyExpressionEvaluation.setToNull()
Sets the value of this expression to "null" for the bean.
|
void |
PropertyExpressionEvaluation.setValue(java.lang.Object propertyValue)
Sets the value of the expression evaluated against the bean.
|
? Copyright 2005-2006, Stripes Development Team.