commons-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/CONFIGURATION-331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605159#action_12605159
] 

Oliver Heger commented on CONFIGURATION-331:
--------------------------------------------

So you propose a method like
{code}
/**
 * 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);
{code}

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

> Missing factory method in XMLBeanDeclaration.getNestedBeanDeclarations 
> -----------------------------------------------------------------------
>
>                 Key: CONFIGURATION-331
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-331
>             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.


Mime
View raw message