[jboss-dev-forums] [Design of JBossXB] - Top level groups
adrian@jboss.org
do-not-reply at jboss.com
Sun Oct 8 08:39:48 EDT 2006
I've reworked the XsdBinder to add support for top level or global groups.
This lets you look at and change the model of the group.
The main change is to reuse the top level groups
where they are referenced rather than unwrapping them into
their particles and then trying to spot shared elements/types.
Besides being able to modify the binding after the fact
(previously you had to use annotations to do anything with groups)
I think it will also speed up parsing (especially annotation processing)
since each group is only processed once.
See GlobalGroupUnitTestCase
I also created a SharedElementUnitTestCase to make sure I
didn't break this with the change.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976811#3976811
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976811
More information about the jboss-dev-forums
mailing list