[
https://jira.jboss.org/jira/browse/JBXB-231?page=com.atlassian.jira.plugi...
]
Alexey Loubyansky closed JBXB-231.
----------------------------------
Resolution: Done
Done.
simplify array binding
----------------------
Key: JBXB-231
URL:
https://jira.jboss.org/jira/browse/JBXB-231
Project: JBoss XML Binding (JBossXB)
Issue Type: Task
Reporter: Alexey Loubyansky
Assignee: Alexey Loubyansky
Fix For: JBossXB-2.0.2.GA
Current binding and handling of arrays is complicated by nesting sequences (also using
special ArraySequenceBinding type) instead of simply making the particle repeatable and
using ArrayWrapper as a container for array items and using instanceof in every handler to
correctly add items.
All this can be simplified by using an implementation of RepeatableParticleHandler to
collect array items into a collection and creating an array out of it and adding it to the
parent when the repeatable particle has ended.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira