users@jaxb.java.net

Re: Plugin for JAXB Outline Traversal

From: Vojtěch Krása <vojta.krasa_at_gmail.com>
Date: Thu, 31 Jul 2014 20:44:39 +0200

Hi,

basically everything I know about the xjc is contained in my plugin. It
seems to me that traversing as I do should be enough. What exactly are you
trying to achieve?

V.

S pozdravem
Vojtěch Krása



2014-07-31 19:14 GMT+02:00 Simon Chase <schase_at_bbn.com>:

> Hi,
>
> I’m trying to write a plugin that will be able to walk through the Outline
> tree for java code generated by xjc. Any guidance on how to traverse the
> outline, so that the plugin will be able to:
>
> - link a reference class’s field to its corresponding get/set methods
> - link a field to its reference class
> - link a List to its member class (or to a list of its member classes if
> it holds a union of types)
>
> would be helpful. I’ve looked through the outline and navigator classes
> packages, and the overarching architecture is not clear to me.
>
> Thanks,
> Simon Chase
> Software Engineer
> Raytheon BBN Technologies