[jboss-jira] [JBoss JIRA] Closed: (JBXB-231) simplify array binding
Alexey Loubyansky (JIRA)
jira-events at lists.jboss.org
Wed Nov 11 11:44:06 EST 2009
[ https://jira.jboss.org/jira/browse/JBXB-231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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
More information about the jboss-jira
mailing list