Optional interface that can be implemented by JAXB-bound objects
to handle cycles in the object graph.
As discussed in
the users' guide, normally a cycle in the object graph causes the marshaller to report an error,
and when an error is found, the JAXB RI recovers by cutting the cycle arbitrarily.
This is not always a desired behavior.
Implementing this interface allows user application to change this behavior.
Also see this related discussion.
since: JAXB 2.1 EA2 author: Kohsuke Kawaguchi |