Issue Details (XML | Word | Printable)

Key: CONFIGURATION-331
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Oliver Heger
Reporter: Frank Haefemeier
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons Configuration

Missing factory method in XMLBeanDeclaration.getNestedBeanDeclarations

Created: 15/Jun/08 04:40 PM   Updated: 22/Aug/09 07:36 PM
Return to search
Component/s: None
Affects Version/s: 1.5
Fix Version/s: 1.6

Time Tracking:
Not Specified

Resolution Date: 23/Jun/08 08:38 PM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #670739 Mon Jun 23 20:36:37 UTC 2008 oheger CONFIGURATION-331: Added a factory method to XMLBeanDeclaration for creating the declarations for complex nested properties.
Files Changed
MODIFY /commons/proper/configuration/trunk/xdocs/changes.xml
MODIFY /commons/proper/configuration/trunk/src/test/org/apache/commons/configuration/beanutils/TestXMLBeanDeclaration.java
MODIFY /commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/beanutils/XMLBeanDeclaration.java

Repository Revision Date User Message
ASF #670741 Mon Jun 23 20:37:59 UTC 2008 oheger CONFIGURATION-331: Added a factory method to XMLBeanDeclaration for creating the declarations for complex nested properties. Ported changes from trunk to this branch.
Files Changed
MODIFY /commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/beanutils/XMLBeanDeclaration.java
MODIFY /commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration2/beanutils/TestXMLBeanDeclaration.java
MODIFY /commons/proper/configuration/branches/configuration2_experimental/xdocs/changes.xml