Brett Randall wrote:
> My question: is there currently any way to produce generated classes
> that make Child->Parent element navigation possible under JAXB? If not,
> could this be considered for future releases of the JAXB specification?
> It seems natural to me to have an option for generating getParent()
> (preferably type-specific) methods (and thereby requiring the generated
> Child classes to store a reference to their Parent object). I have seen
> example code that recursively (from the root node) builds a Map of
> Child->Parent to get around this.
>
We're aware of this limitation and will address it in JAXB 2.0
which is currently under development by the JSR-222 Expert Group.
Thanks,
--Ryan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net