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/02/01 21:32:51 UTC

svn commit: r1066191 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/rulesbinder/CallMethodBuilder.java

Author: simonetripodi
Date: Tue Feb  1 20:32:50 2011
New Revision: 1066191

URL: http://svn.apache.org/viewvc?rev=1066191&view=rev
Log:
added missing methods builder on CallMethodBuilder DLS

Modified:
    commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/rulesbinder/CallMethodBuilder.java

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/rulesbinder/CallMethodBuilder.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/rulesbinder/CallMethodBuilder.java?rev=1066191&r1=1066190&r2=1066191&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/rulesbinder/CallMethodBuilder.java (original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/rulesbinder/CallMethodBuilder.java Tue Feb  1 20:32:50 2011
@@ -46,4 +46,21 @@ public interface CallMethodBuilder exten
      */
     CallMethodBuilder withParamTypes(Class<?>...paramTypes);
 
+    /**
+     * Should <code>MethodUtils.invokeExactMethod</code> be used for the reflection.
+     *
+     * @param useExactMatch Flag to mark exact matching or not
+     * @return this builder instance
+     */
+    CallMethodBuilder useExactMatch(boolean useExactMatch);
+
+    /**
+     * The number of parameters to collect, or zero for a single argument from the body of this element.
+     *
+     * @param paramCount The number of parameters to collect, or zero for a single argument
+     *        from the body of this element.
+     * @return this builder instance
+     */
+    CallMethodBuilder withParamCount(int paramCount);
+
 }