users@jaxb.java.net

Re: Plugin for JAXB Outline Traversal

From: Wolfgang Laun <wolfgang.laun_at_gmail.com>
Date: Fri, 1 Aug 2014 09:51:01 +0200

@Simon: Examples of the code you'd like to have (in addition to xjc
generated stuff) would help.
-W



On 31/07/2014, Vojtěch Krása <vojta.krasa_at_gmail.com> wrote:
> 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
>