There are 2 parts though, the class generation and then the binding. As long as the plugin allows some hook into the binding process as well...
On Tue 10 Jul 2012 09:09:14 AM CDT, Hardy Ferentschik wrote: > > On Jul 10, 2012, at 4:04 PM, Steve Ebersole wrote: > >> If you can get JAXB to perform that binding for you great! There are lots >> of places where we have this. >> >> Just to be clear, however, we cannot change the XSD to accomplish this in a >> way that means changes to end-user syntax. > > I think one generic way of doing this would be a custom xjc plugin (these > plugins hook into the code generation and allow to modify > the generated classes in memory before they are written to disc). It might be > possible to add additional type specific getters for mixed content > nodes this way. > > I am not saying that we should do it and it is worth the effort, just saying > that this might be a possibility :-) > > --Hardy -- st...@hibernate.org http://hibernate.org _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev