Return-Path: Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: (qmail 22847 invoked from network); 1 Feb 2011 06:58:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Feb 2011 06:58:44 -0000 Received: (qmail 72979 invoked by uid 500); 1 Feb 2011 06:58:44 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 72634 invoked by uid 500); 1 Feb 2011 06:58:41 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 72622 invoked by uid 99); 1 Feb 2011 06:58:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 06:58:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 06:58:38 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 9012D2388A40; Tue, 1 Feb 2011 06:58:17 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1065926 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinderImpl.java Date: Tue, 01 Feb 2011 06:58:17 -0000 To: commits@commons.apache.org From: simonetripodi@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110201065817.9012D2388A40@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: simonetripodi Date: Tue Feb 1 06:58:17 2011 New Revision: 1065926 URL: http://svn.apache.org/viewvc?rev=1065926&view=rev Log: added the callParamPath() method implementation Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinderImpl.java Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinderImpl.java URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinderImpl.java?rev=1065926&r1=1065925&r2=1065926&view=diff ============================================================================== --- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinderImpl.java (original) +++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinderImpl.java Tue Feb 1 06:58:17 2011 @@ -407,8 +407,28 @@ final class RulesBinderImpl implements R }); } + /** + * + */ public PathCallParamBuilder callParamPath() { - return null; + return this.addProvider(new PathCallParamBuilder() { + + private int paramIndex = 0; + + public PathCallParamRule get() { + return setNamespaceAndReturn(new PathCallParamRule(this.paramIndex)); + } + + public LinkedRuleBuilder then() { + return mainBuilder; + } + + public PathCallParamBuilder ofIndex(int paramIndex) { + this.paramIndex = paramIndex; + return this; + } + + }); } public CallParamBuilder callParam() {