|
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 method. Yes of course, this was what I had in mind.
I will have a look to integrate this feature into the next release. Thanks for the suggestion.
Oliver Heger made changes - 16/Jun/08 07:42 PM
Oliver Heger made changes - 23/Jun/08 07:54 PM
Fixed in subversion. Thanks for this suggestion.
Oliver Heger made changes - 23/Jun/08 08:38 PM
Oliver Heger made changes - 22/Aug/09 07:36 PM
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
in XMLBeanDeclaration. This seems reasonable to me. Are you fine with this method signature?