commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1103354 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/LinkedRuleBuilder.java
Date Sun, 15 May 2011 12:46:42 GMT
Author: simonetripodi
Date: Sun May 15 12:46:41 2011
New Revision: 1103354

URL: http://svn.apache.org/viewvc?rev=1103354&view=rev
Log:
restored callParam() method

Modified:
    commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/LinkedRuleBuilder.java

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/LinkedRuleBuilder.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/LinkedRuleBuilder.java?rev=1103354&r1=1103353&r2=1103354&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/LinkedRuleBuilder.java
(original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/LinkedRuleBuilder.java
Sun May 15 12:46:41 2011
@@ -74,6 +74,14 @@ public final class LinkedRuleBuilder
     }
 
     /**
+     * Saves a parameter for use by a surrounding {@link #callMethod(String)}.
+     */
+    public CallParamBuilder callParam()
+    {
+        return this.addProvider( new CallParamBuilder( keyPattern, namespaceURI, mainBinder,
this ) );
+    }
+
+    /**
      * Sets the namespace URI for the current rule pattern.
      *
      * @param namespaceURI the namespace URI associated to the rule pattern.



Mime
View raw message