commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hen...@apache.org
Subject svn commit: r824745 - in /commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl: ./ util/ util/introspection/
Date Tue, 13 Oct 2009 13:12:12 GMT
Author: henrib
Date: Tue Oct 13 13:12:11 2009
New Revision: 824745

URL: http://svn.apache.org/viewvc?rev=824745&view=rev
Log:
Javadoc changes.

Modified:
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/Debugger.java
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/Expression.java
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/ExpressionFactory.java
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/JexlArithmetic.java
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/JexlException.java
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/Script.java
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/UnifiedJEXL.java
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/BooleanGetExecutor.java
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/DuckGetExecutor.java
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/DuckSetExecutor.java
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/Introspector.java
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/ListGetExecutor.java
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/ListSetExecutor.java
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/MapGetExecutor.java
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/MapSetExecutor.java
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/MethodExecutor.java
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/PropertyGetExecutor.java
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/PropertySetExecutor.java
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/ClassMap.java
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/Info.java
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/Introspector.java
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/JexlMethod.java
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/JexlPropertyGet.java
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/JexlPropertySet.java
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/Uberspect.java
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/package.html
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/package.html

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/Debugger.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/Debugger.java?rev=824745&r1=824744&r2=824745&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/Debugger.java (original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/Debugger.java Tue Oct
13 13:12:11 2009
@@ -68,10 +68,13 @@
 
 /**
  * Helps pinpoint the cause of problems in expressions that fail during evaluation.
+ * <p>
  * It rebuilds an expression string from the tree and the start/end offsets of the cause
  * in that string.
- * This implies that exceptions during evaluation should allways carry the node that's causing
+ * </p>
+ * This implies that exceptions during evaluation do allways carry the node that's causing
  * the error.
+ * @since 2.0
  */
 final class Debugger implements ParserVisitor {
     /** The builder to compose messages. */

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/Expression.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/Expression.java?rev=824745&r1=824744&r2=824745&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/Expression.java (original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/Expression.java Tue Oct
13 13:12:11 2009
@@ -19,10 +19,10 @@
 
 
 /**
+ * Represents a single JEXL expression.
  * <p>
- * Represents a single JEXL expression.  This simple interface
- * provides access to the underlying expression through getExpression(),
- * and it provides hooks to add a pre- and post- expression resolver.
+ * This simple interface provides access to the underlying expression through
+ * {@link Epxression#getExpression()}.
  * </p>
  *
  * <p>

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/ExpressionFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/ExpressionFactory.java?rev=824745&r1=824744&r2=824745&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/ExpressionFactory.java
(original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/ExpressionFactory.java
Tue Oct 13 13:12:11 2009
@@ -19,8 +19,9 @@
 import org.apache.commons.jexl.parser.ParseException;
 
 /**
+ * Creates Expression objects. 
  * <p>
- * Creates Expression objects.  To create a JEXL Expression object, pass
+ * To create a JEXL Expression object, pass
  * valid JEXL syntax to the static createExpression() method:
  * </p>
  *

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/JexlArithmetic.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/JexlArithmetic.java?rev=824745&r1=824744&r2=824745&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/JexlArithmetic.java (original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/JexlArithmetic.java Tue
Oct 13 13:12:11 2009
@@ -34,6 +34,7 @@
  * <li>if both arguments can be narrowed to Long, narrow result to Long</li>
  * <li>Else return result as BigInteger</li>
  * </ol>
+ * </li>
  * </ol>
  * </p>
  * @since 2.0

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/JexlException.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/JexlException.java?rev=824745&r1=824744&r2=824745&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/JexlException.java (original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/JexlException.java Tue
Oct 13 13:12:11 2009
@@ -20,6 +20,7 @@
 
 /**
  * Wraps any error that might occur during interpretation of a script or expression.
+ * @since 2.0
  */
 public class JexlException extends RuntimeException {
     /** Serial version UID. */

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/Script.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/Script.java?rev=824745&r1=824744&r2=824745&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/Script.java (original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/Script.java Tue Oct 13
13:12:11 2009
@@ -19,7 +19,7 @@
 /**
  * <p>A JEXL Script.</p>
  * <p>A script is some valid JEXL syntax to be executed with
- * a given set of {@link JexlContext variables}.</p>
+ * a given set of {@link JexlContext} variabless.</p>
  * <p>A script is a group of statements, separated by semicolons.</p>
  * <p>The statements can be <code>blocks</code> (curly braces containing
code),
  * Control statements such as <code>if</code> and <code>while</code>

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/UnifiedJEXL.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/UnifiedJEXL.java?rev=824745&r1=824744&r2=824745&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/UnifiedJEXL.java (original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/UnifiedJEXL.java Tue Oct
13 13:12:11 2009
@@ -31,10 +31,10 @@
  * <p>
  * An expression can mix immediate, deferred and nested sub-expressions as well as string
constants;
  * <ul>
- * <li>The "immediate" syntax is of the form "...${jexl-expr}..."</li>
- * <li>The "deferred" syntax is of the form "...#{jexl-expr}..."</li>
- * <li>The "nested" syntax is of the form "...#{...${jexl-expr0}...}..."</li>
- * <li>The "composite" syntax is of the form "...${jexl-expr0}... #{jexl-expr1}..."</li>
+ * <li>The "immediate" syntax is of the form <code>"...${jexl-expr}..."</code></li>
+ * <li>The "deferred" syntax is of the form <code>"...#{jexl-expr}..."</code></li>
+ * <li>The "nested" syntax is of the form <code>"...#{...${jexl-expr0}...}..."</code></li>
+ * <li>The "composite" syntax is of the form <code>"...${jexl-expr0}... #{jexl-expr1}..."</code></li>
  * </ul>
  * </p>
  * <p>
@@ -46,7 +46,7 @@
  * </ul>
  * </p>
  * <p>
- * For instance: "Hello ${name}, now is #{time}" is a composite "deferred" expression since
one
+ * For instance: <code>"Hello ${name}, now is #{time}"</code> is a composite
"deferred" expression since one
  * of its subexpressions is deferred. Furthermore, this (composite) expression intent is
  * to perform two evaluations; one close to its definition and another one in a later
  * phase.

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/BooleanGetExecutor.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/BooleanGetExecutor.java?rev=824745&r1=824744&r2=824745&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/BooleanGetExecutor.java
(original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/BooleanGetExecutor.java
Tue Oct 13 13:12:11 2009
@@ -19,6 +19,7 @@
 import java.lang.reflect.InvocationTargetException;
 /**
  * Specialized executor to get a boolean property from an object.
+ * @since 2.0
  */
 public final class BooleanGetExecutor extends AbstractExecutor.Get {
     /** The property. */

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/DuckGetExecutor.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/DuckGetExecutor.java?rev=824745&r1=824744&r2=824745&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/DuckGetExecutor.java
(original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/DuckGetExecutor.java
Tue Oct 13 13:12:11 2009
@@ -27,10 +27,7 @@
  * }
  * </code>
  * </p>
- */
-/**
- * Specialized executor to get a property from an object.
- * <p>Duck as in duck-typing for classes that implement an get(object) method.</p>
+ * @since 2.0
  */
 public final class DuckGetExecutor extends AbstractExecutor.Get {
     /** The property. */

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/DuckSetExecutor.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/DuckSetExecutor.java?rev=824745&r1=824744&r2=824745&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/DuckSetExecutor.java
(original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/DuckSetExecutor.java
Tue Oct 13 13:12:11 2009
@@ -23,10 +23,11 @@
  * <p>Duck as in duck-typing for an interface like:
  * <code>
  * interface Set {
- *      Object put(Object property, Object value);
+ *      Object set(Object property, Object value);
  * }
  * </code>
  * </p>
+ * @since 2.0
  */
 public final class DuckSetExecutor extends AbstractExecutor.Set {
     /** The property. */

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/Introspector.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/Introspector.java?rev=824745&r1=824744&r2=824745&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/Introspector.java
(original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/Introspector.java
Tue Oct 13 13:12:11 2009
@@ -29,6 +29,7 @@
 /**
  *  Default introspection services.
  *  <p>Finding methods as well as property getters & setters.</p>
+ * @since 1.0
  */
 public class Introspector  {
     /** The default uberspector that handles all introspection patterns. */

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/ListGetExecutor.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/ListGetExecutor.java?rev=824745&r1=824744&r2=824745&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/ListGetExecutor.java
(original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/ListGetExecutor.java
Tue Oct 13 13:12:11 2009
@@ -20,6 +20,7 @@
 import java.lang.reflect.Array;
 /**
  * Specialized executor to get a property from a List or array.
+ * @since 2.0
  */
 public final class ListGetExecutor extends AbstractExecutor.Get {
     /** The java.lang.reflect.Array.get method used as an active marker in ListGet. */

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/ListSetExecutor.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/ListSetExecutor.java?rev=824745&r1=824744&r2=824745&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/ListSetExecutor.java
(original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/ListSetExecutor.java
Tue Oct 13 13:12:11 2009
@@ -20,6 +20,7 @@
 import java.lang.reflect.Array;
 /**
  * Specialized executor to set a property in a List or array.
+ * @since 2.0
  */
 public final class ListSetExecutor extends AbstractExecutor.Set {
         /** The java.lang.reflect.Array.get method used as an active marker in ListGet. */

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/MapGetExecutor.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/MapGetExecutor.java?rev=824745&r1=824744&r2=824745&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/MapGetExecutor.java
(original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/MapGetExecutor.java
Tue Oct 13 13:12:11 2009
@@ -21,6 +21,7 @@
 
  /**
  * Specialized executor to get a property from a Map.
+  * @since 2.0
  */
 public final class MapGetExecutor extends AbstractExecutor.Get {
     /** The java.util.map.get method used as an active marker in MapGet. */

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/MapSetExecutor.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/MapSetExecutor.java?rev=824745&r1=824744&r2=824745&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/MapSetExecutor.java
(original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/MapSetExecutor.java
Tue Oct 13 13:12:11 2009
@@ -20,6 +20,7 @@
 import java.lang.reflect.InvocationTargetException;
 /**
  * Specialized executor to set a property in a Map.
+ * @since 2.0
  */
 public final class MapSetExecutor extends AbstractExecutor.Set {
     /** The java.util.map.put method used as an active marker in MapSet. */

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/MethodExecutor.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/MethodExecutor.java?rev=824745&r1=824744&r2=824745&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/MethodExecutor.java
(original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/MethodExecutor.java
Tue Oct 13 13:12:11 2009
@@ -22,6 +22,7 @@
 
 /**
  * Specialized executor to invoke a method on an object.
+ * @since 2.0
  */
 public final class MethodExecutor extends AbstractExecutor.Method {
     /** Whether this method handles varargs. */

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/PropertyGetExecutor.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/PropertyGetExecutor.java?rev=824745&r1=824744&r2=824745&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/PropertyGetExecutor.java
(original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/PropertyGetExecutor.java
Tue Oct 13 13:12:11 2009
@@ -20,6 +20,7 @@
 
 /**
  * Specialized executor to get a property from an object.
+ * @since 2.0
  */
 public final class PropertyGetExecutor extends AbstractExecutor.Get {
     /** A static signature for method(). */

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/PropertySetExecutor.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/PropertySetExecutor.java?rev=824745&r1=824744&r2=824745&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/PropertySetExecutor.java
(original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/PropertySetExecutor.java
Tue Oct 13 13:12:11 2009
@@ -19,6 +19,7 @@
 import java.lang.reflect.InvocationTargetException;
 /**
  * Specialized executor to set a property in an object.
+ * @since 2.0
  */
 public final class PropertySetExecutor extends AbstractExecutor.Set {
     /** Index of the first character of the set{p,P}roperty. */

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/ClassMap.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/ClassMap.java?rev=824745&r1=824744&r2=824745&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/ClassMap.java
(original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/ClassMap.java
Tue Oct 13 13:12:11 2009
@@ -24,11 +24,12 @@
 import org.apache.commons.logging.Log;
 
 /**
- * Originally taken from the Velocity tree so we can be self-sufficient.
- *
  * A cache of introspection information for a specific class instance.
  * Keys objects by an agregation of the method name and the classes
  * that make up the parameters.
+ * <p>
+ * Originally taken from the Velocity tree so we can be self-sufficient.
+ * </p>
  * @see MethodKey
  *
  * @author <a href="mailto:jvanzyl@apache.org">Jason van Zyl</a>

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/Info.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/Info.java?rev=824745&r1=824744&r2=824745&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/Info.java
(original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/Info.java
Tue Oct 13 13:12:11 2009
@@ -19,9 +19,9 @@
 /**
  * Little class to carry in info such as a file or template name, line and column for
  * information error reporting from the uberspector implementations.
- * 
- * Originally taken from velocity for self-sufficiency.
- * 
+ * <p>
+ * Originally taken from Velocity for self-sufficiency.
+ * </p>
  * @since 1.0
  * @author <a href="mailto:geirm@optonline.net">Geir Magnusson Jr.</a>
  * @version $Id$

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/Introspector.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/Introspector.java?rev=824745&r1=824744&r2=824745&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/Introspector.java
(original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/Introspector.java
Tue Oct 13 13:12:11 2009
@@ -28,9 +28,9 @@
  * The first time the Introspector sees a
  * class it creates a class method map for the
  * class in question. Basically the class method map
- * is a map where Method objects are keyed by a
- * concatenation of the method name and the names of
- * classes that make up the parameters.
+ * is a map where Method objects are keyed by an
+ * aggregation of the method name and the instances of
+ * classes that make up the parameters (see {@link MethodKey}).
  * </p>
  * <p>
  * For example, a method with the following signature:
@@ -39,7 +39,7 @@
  * </code>
  * would be mapped by the key:
  * <code>
- * { "method", {"java.lang.String", "java.lang.StringBuffer" } }
+ * { "method", {java.lang.String.class, java.lang.StringBuffer.class } }
  * </code>
  * </p>
  * <p>

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/JexlMethod.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/JexlMethod.java?rev=824745&r1=824744&r2=824745&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/JexlMethod.java
(original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/JexlMethod.java
Tue Oct 13 13:12:11 2009
@@ -18,10 +18,11 @@
 package org.apache.commons.jexl.util.introspection;
 
 /**
- * Method used for regular method invocation.
- * 
- * $foo.bar()
- * 
+ * Interface used for regular method invocation.
+ * Ex.
+ * <code>
+ * ${foo.bar()}
+ * </code>
  * 
  * @since 1.0
  * @author <a href="mailto:geirm@optonline.net">Geir Magnusson Jr.</a>

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/JexlPropertyGet.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/JexlPropertyGet.java?rev=824745&r1=824744&r2=824745&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/JexlPropertyGet.java
(original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/JexlPropertyGet.java
Tue Oct 13 13:12:11 2009
@@ -18,11 +18,11 @@
 package org.apache.commons.jexl.util.introspection;
 
 /**
- * Interface defining a 'getter'. For uses when looking for resolution of
- * property references
- *
- * $foo.bar
- *
+ * Interface for getting values that appear to be properties.
+ * Ex.
+ * <code>
+ * ${foo.bar}
+ * </code>
  * @since 1.0
  * @author <a href="mailto:geirm@optonline.net">Geir Magnusson Jr.</a>
  * @version $Id$

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/JexlPropertySet.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/JexlPropertySet.java?rev=824745&r1=824744&r2=824745&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/JexlPropertySet.java
(original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/JexlPropertySet.java
Tue Oct 13 13:12:11 2009
@@ -18,11 +18,11 @@
 package org.apache.commons.jexl.util.introspection;
 
 /**
- * Interface used for setting values that appear to be properties in Velocity.
+ * Interface used for setting values that appear to be properties.
  * Ex.
- * 
- * #set($foo.bar = "hello")
- * 
+ * <code>
+ * ${foo.bar = "hello"}
+ * </code>
  * @since 1.0
  * @author <a href="mailto:geirm@optonline.net">Geir Magnusson Jr.</a>
  * @version $Id$

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/Uberspect.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/Uberspect.java?rev=824745&r1=824744&r2=824745&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/Uberspect.java
(original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/Uberspect.java
Tue Oct 13 13:12:11 2009
@@ -22,7 +22,7 @@
 
 /**
  * 'Federated' introspection/reflection interface to allow the introspection
- * behavior in Velocity to be customized.
+ * behavior in JEXL to be customized.
  * 
  * @since 1.0
  * @author <a href="mailto:geirm@apache.org">Geir Magusson Jr.</a>

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/package.html
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/package.html?rev=824745&r1=824744&r2=824745&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/package.html
(original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/introspection/package.html
Tue Oct 13 13:12:11 2009
@@ -42,7 +42,7 @@
   <h2><a name="high">High level</a></h2>
   
   <p>
-  The Uberspect, VelMethod, VelPropertyGet and VelPropertySet interfaces
+  The Uberspect, JexlMethod, JexlPropertyGet and JexlPropertySet interfaces
   form the exposed face of introspective services.
   </p>
   <p>

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/package.html
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/package.html?rev=824745&r1=824744&r2=824745&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/package.html (original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/util/package.html Tue
Oct 13 13:12:11 2009
@@ -24,8 +24,8 @@
   <p>
   This set of classes implement the various forms of setters and getters
   used by Jexl. These are specialized forms for 'pure' properties, discovering
-  methods of the {s,g}etProperty form, for Maps, Lists and Duck-typing -
-  attempting to discover a 'get' or 'put' method, making an object walk and
+  methods of the {s,g}etProperty form, for Maps, Lists and Ducks -
+  attempting to discover a 'get' or 'set' method, making an object walk and
   quack.
   </p>
   



Mime
View raw message