commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1127073 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/annotations/rules/CallMethod.java
Date Tue, 24 May 2011 14:20:31 GMT
Author: simonetripodi
Date: Tue May 24 14:20:31 2011
New Revision: 1127073

URL: http://svn.apache.org/viewvc?rev=1127073&view=rev
Log:
added the usingElementBodyAsArgument property

Modified:
    commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/annotations/rules/CallMethod.java

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/annotations/rules/CallMethod.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/annotations/rules/CallMethod.java?rev=1127073&r1=1127072&r2=1127073&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/annotations/rules/CallMethod.java
(original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/annotations/rules/CallMethod.java
Tue May 24 14:20:31 2011
@@ -56,6 +56,13 @@ public @interface CallMethod
     String namespaceURI() default "";
 
     /**
+     * Marks the {@link CallMethodRule} to be invoked using the matching element body as
argument.
+     *
+     * @return the {@link CallMethodRule} to be invoked using the matching element body as
argument flag
+     */
+    boolean usingElementBodyAsArgument() default false;
+
+    /**
      * Defines several {@code @CallMethod} annotations on the same element.
      * 
      * @see CallMethod



Mime
View raw message