dion 2004/08/24 14:23:39
Modified: jexl/xdocs/reference examples.xml
Log:
Add resolver stuff in the absence of any input
Revision Changes Path
1.17 +12 -0 jakarta-commons/jexl/xdocs/reference/examples.xml
Index: examples.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/jexl/xdocs/reference/examples.xml,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- examples.xml 24 Aug 2004 08:46:28 -0000 1.16
+++ examples.xml 24 Aug 2004 21:23:39 -0000 1.17
@@ -99,6 +99,18 @@
</p>
</section>
<section name="Custom Resolvers">
+ <p>
+ JEXL allows you to add custom expression resolvers that will get called
with before or after expression
+ evaluation.
+ </p>
+ <p>
+ If <a
href="http://jakarta.apache.org/commons/jexl/apidocs/org/apache/commons/jexl/JexlExprResolver.html">pre-resolvers</a>
+ is added to an expression, any value it returns will be used instead of
that normally provided by JEXL. If JEXL evaluates
+ an expression to <code>null</code> post-resolvers of an expression are
called in turn in an attempt to get a value.
+ </p>
+ <p>
+ Expression resolvers are called in the order that they are added.
+ </p>
</section>
<section name="Example Expressions">
<!-- invoking methods, property access, array access, empty, size etc... -->
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]