commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "BRABANT Benjamin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DIGESTER-177) Adding SetLeaf Rule
Date Mon, 01 Jul 2013 00:50:19 GMT
BRABANT Benjamin created DIGESTER-177:
-----------------------------------------

             Summary: 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


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

Mime
View raw message