Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 82F69C908 for ; Mon, 1 Jul 2013 00:55:20 +0000 (UTC) Received: (qmail 89585 invoked by uid 500); 1 Jul 2013 00:55:20 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 89508 invoked by uid 500); 1 Jul 2013 00:55:20 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 89497 invoked by uid 99); 1 Jul 2013 00:55:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jul 2013 00:55:20 +0000 Date: Mon, 1 Jul 2013 00:55:19 +0000 (UTC) From: "BRABANT Benjamin (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DIGESTER-177) Adding SetLeaf Rule MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DIGESTER-177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] BRABANT Benjamin updated DIGESTER-177: -------------------------------------- Attachment: SetLeafFeature.patch > Adding SetLeaf Rule > ------------------- > > Key: DIGESTER-177 > URL: https://issues.apache.org/jira/browse/DIGESTER-177 > Project: Commons Digester > Issue Type: Improvement > Affects Versions: 3.2 > Environment: Microsoft Windows 7 x32 > Reporter: BRABANT Benjamin > Priority: Minor > Fix For: 3.3 > > Attachments: SetLeafFeature.patch > > > Hello, > I would like to suggest a new minor functionality that is missing to my mind in the digester project. Indeed, it is possible by default to : > * call a method on the (top) object passing the (top-1) object as an argument [SetTop method] > * call a method on the (top-1) object passing the (top) object as an argument [SetNext method] > * call a method on the (root) object passing the (top) object as an argument [SetRoot method] > To follow this sequence, I think it could be interesting that digester offers by default the possibility of calling a method on the (top) object passing the (root) object as an argument [the new SetLeaf method] ! > From this perspective, I attached you my patch that provides this functionality and a TestCase to check it. I am also writing TestCases for annotation, binder and xmlrules for which I will attach patches as soon as possible. > Thanks in advance for your consideration. > BRABANT Benjamin -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira