users@jaxb.java.net

Plugin for JAXB Outline Traversal

From: Simon Chase <schase_at_bbn.com>
Date: Thu, 31 Jul 2014 13:14:42 -0400

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