commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Haefemeier (JIRA)" <>
Subject [jira] Commented: (CONFIGURATION-331) Missing factory method in XMLBeanDeclaration.getNestedBeanDeclarations
Date Sun, 15 Jun 2008 23:15:46 GMT


Frank Haefemeier commented on CONFIGURATION-331:

IMHO more convenient for the method would be
 * Creates a nested <code>BeanDeclaration</code> for a child node of the current
configuration node.
 * @param node the affected child node
 * @return the <code>BeanDeclaration</code> for this child node
protected BeanDeclaration createBeanDeclaration(ConfigurationNode node);

I think, this is what you thought as you wrote it, right? Your proposal looks like a constructor...

Additional the method {{getNestedBeanDeclaration}} has to be changed to use this new factory

> Missing factory method in XMLBeanDeclaration.getNestedBeanDeclarations 
> -----------------------------------------------------------------------
>                 Key: CONFIGURATION-331
>                 URL:
>             Project: Commons Configuration
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Frank Haefemeier
> I create a new BeanDeclaration class on base of XMLBeanDeclaration to extend the behaviour
to fill up bean properties with pure XML text nodes. But the problem was, that the method
getNestedBeanDeclaration create for all nested child new XMLBeanDeclarations and there
> is no way to get my own class. I have to implement the whole method getNestedBeanDeclaration
as a copy from the parent class.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message