you could, in principle, write your own set of classes that extend
and/or contain those existing classes, and you could then annotate those
subclasses/wrappers.
Not pretty, but might be the most practical approach.
Don Walling, Jr. wrote:
> Sorry if this is a total newbie question, but I've not found a
> definitive answer. I have a heirarchy of classes that are basically
> JavaBeans, but I do not own the source and cannot annotate them for
> JAXB. Is there still a way that I can use JAXB to marshal them to XML?
> Can someone point me to the sample or FAQ on how to get started with this?
> Thanks,
> Don
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>