commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r947309 - in /commons/proper/jexl/trunk/src: main/java/org/apache/commons/jexl2/scripting/JexlScriptEngineFactory.java site/xdoc/reference/jsr223.xml
Date Sat, 22 May 2010 15:23:28 GMT
Author: sebb
Date: Sat May 22 15:23:28 2010
New Revision: 947309

URL: http://svn.apache.org/viewvc?rev=947309&view=rev
Log:
JEXL-102: Document jexl2 engine changes

Modified:
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/scripting/JexlScriptEngineFactory.java
    commons/proper/jexl/trunk/src/site/xdoc/reference/jsr223.xml

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/scripting/JexlScriptEngineFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/scripting/JexlScriptEngineFactory.java?rev=947309&r1=947308&r2=947309&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/scripting/JexlScriptEngineFactory.java
(original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/scripting/JexlScriptEngineFactory.java
Sat May 22 15:23:28 2010
@@ -30,8 +30,9 @@ import org.apache.commons.jexl2.parser.S
  * Implements the Jexl ScriptEngineFactory for JSF-223.
  * <p>
  * Supports the following:<br.>
- * Language short names: "JEXL", "Jexl", "jexl" <br/>
- * Extension: "jexl"
+ * Language short names: "JEXL", "Jexl", "jexl", "JEXL2", "Jexl2", "jexl2" <br/>
+ * File Extensions: ".jexl", ".jexl2"<br/>
+ * "jexl2" etc. were added for engineVersion="2.0".
  * </p>
  * <p>
  * See

Modified: commons/proper/jexl/trunk/src/site/xdoc/reference/jsr223.xml
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/site/xdoc/reference/jsr223.xml?rev=947309&r1=947308&r2=947309&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/site/xdoc/reference/jsr223.xml (original)
+++ commons/proper/jexl/trunk/src/site/xdoc/reference/jsr223.xml Sat May 22 15:23:28 2010
@@ -32,12 +32,18 @@
     </section>
     <section name="Script engine support">
       <p>
-      The provided script engine implements the following:
+      The provided script engine implements the following (engineVersion="1.0"):
       <ul>
       <li>Language names: "JEXL", "Jexl", "jexl"</li>
       <li>Extensions: ".jexl"</li>
       <li>Mime-types: "application/x-jexl"</li>
       </ul>
+      Script Engine versions from "2.0" also implement the following:
+      <ul>
+      <li>Language names: "JEXL2", "Jexl2", "jexl2"</li>
+      <li>Extensions: ".jexl2"</li>
+      <li>Mime-types: "application/x-jexl2"</li>
+      </ul>
       The implementation adds an instance of 
       <a href="http://commons.apache.org/jexl/apidocs/org/apache/commons/jexl/scripting/JexlScriptObject.html">JexlScriptObject</a>
       to the engine context as the variable "JEXL". 



Mime
View raw message