commons-issues mailing list archives

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


Oliver Heger commented on CONFIGURATION-331:

So you propose a method like
 * 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(ConfigurationNode node);

in XMLBeanDeclaration. This seems reasonable to me. Are you fine with this method signature?

> 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