commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hen...@apache.org
Subject svn commit: r897154 - /commons/proper/jexl/trunk/xdocs/index.xml
Date Fri, 08 Jan 2010 10:15:57 GMT
Author: henrib
Date: Fri Jan  8 10:15:47 2010
New Revision: 897154

URL: http://svn.apache.org/viewvc?rev=897154&view=rev
Log:
Updated index to reflect last changes (public fields as properties)

Modified:
    commons/proper/jexl/trunk/xdocs/index.xml

Modified: commons/proper/jexl/trunk/xdocs/index.xml
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/xdocs/index.xml?rev=897154&r1=897153&r2=897154&view=diff
==============================================================================
--- commons/proper/jexl/trunk/xdocs/index.xml (original)
+++ commons/proper/jexl/trunk/xdocs/index.xml Fri Jan  8 10:15:47 2010
@@ -67,8 +67,8 @@
             </p>
             <p>
             The API and the expression language exploit Java-beans naming patterns through
-            introspection to expose property getters and setters. It may also optionally
consider public class fields
-            as properties.
+            introspection to expose property getters and setters. It also considers public
class fields
+            as properties and allows to invoke any accessible method.
             </p>
             <p>
             JEXL attempts to bring some of the lessons learned by the Velocity
@@ -121,6 +121,7 @@
             </p>
             <ul>
                 <li>Support for invocation of any accessible method (see example above).</li>
+                <li>Support for setting/getting any accessible public field.</li>
                 <li>A general <span class="literal">size()</span> method,
which works on:
                     <ul>
                         <li><span class="literal">String</span> - returns
length</li>
@@ -131,6 +132,7 @@
                 <li>A general <span class="literal">empty()</span> method,
which works on Collections and Strings.</li>
                 <li>A general <span class="literal">new()</span> method
allowing to instantiate objects.</li>
                 <li>Support for the ternary operator 'a ? b : c' - and its GNU-C /
"Elvis" variant 'a ?: c'.</li>
+                <li>Support for the Perl-like regex matching operators '=~' and '!~'</li>
                 <li>Misc : '+' has been overloaded to be use as a String concatenation
operator</li>
             </ul>
 



Mime
View raw message