Author: rahul
Date: Fri Nov 9 20:42:47 2007
New Revision: 593733
URL: http://svn.apache.org/viewvc?rev=593733&view=rev
Log:
JEXL-37 Link to JEXL syntax page from main description
Thanks to Sebb <sebb at apache dot org>
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=593733&r1=593732&r2=593733&view=diff
==============================================================================
--- commons/proper/jexl/trunk/xdocs/index.xml (original)
+++ commons/proper/jexl/trunk/xdocs/index.xml Fri Nov 9 20:42:47 2007
@@ -50,7 +50,7 @@
<p>
When evaluating expressions, JEXL merges an <a
href="http://commons.apache.org/jexl/apidocs/org/apache/commons/jexl/Expression.html">Expression</a>
with a <a
href="http://commons.apache.org/jexl/apidocs/org/apache/commons/jexl/JexlContext.html">JexlContext</a>.
An Expression is created using <a
href="http://commons.apache.org/jexl/apidocs/org/apache/commons/jexl/ExpressionFactory.html#createExpression(java.lang.String)">ExpressionFactory.createExpression()</a>,
passing a
- String containing valid JEXL syntax. A JexlContext is created using
+ String containing valid <a href="reference/syntax.html">JEXL syntax</a>.
A JexlContext is created using
<a
href="http://commons.apache.org/jexl/apidocs/org/apache/commons/jexl/JexlHelper.html#createContext()">JexlHelper.createContext()</a>,
and variables are put into a map exposed through
the <a
href="http://commons.apache.org/jexl/apidocs/org/apache/commons/jexl/JexlContext.html#getVars()">getVars()</a>
method on JexlContext. The following example, takes a variable
named foo, and invokes the bar() method on the property innerFoo: