[ 
https://issues.apache.org/jira/browse/DIGESTER-177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

BRABANT Benjamin updated DIGESTER-177:
--------------------------------------

    Attachment: SetLeafFeatureXMLRulesTestCase.patch

I attached XMLRules TestCase. No problem encountered during these tests.
                
> 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
>         Attachments: SetLeafFeatureAnnotationTestCase.patch, 
> SetLeafFeatureBinderTestCase.patch, SetLeafFeature.patch, 
> SetLeafFeatureXMLRulesTestCase.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

Reply via email to