You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/05/24 16:20:31 UTC
svn commit: r1127073 -
/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/annotations/rules/CallMethod.java
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