This class parses expressions to lookup or set a value on the object that is
given. The supported expressions are:
"property": This can can then be a bean property with get and set method. Or
if a map is given as an object it will be lookup with the property as a key
when there is not get method for that property.
"property1.property2": Both properties are lookup as written above. If
property1 evaluates to null then if there is a setMethod (or if it is a map)
and the Class of the property has a default constructor then the object will
be constructed and set on the object.
"property.index": If the property is a List or Array then the second property
can be a index on that list like: 'mylist.0' this expression will also map on
a getProperty(index) or setProperty(index,value) methods. If the object is a
List then the list will grow automaticaly if the index is greater then the
size
Index or map properties can also be written as: "property[index]" or
"property[key]"
author: jcompagner |