< prev index next >

src/java.xml.bind/share/classes/com/sun/xml/internal/bind/CycleRecoverable.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 30,47 **** /** * Optional interface that can be implemented by JAXB-bound objects * to handle cycles in the object graph. * * <p> ! * As discussed in <a href="https://jaxb.dev.java.net/guide/Mapping_cyclic_references_to_XML.html"> * the users' guide</a>, 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. * * <p> * Implementing this interface allows user application to change this behavior. - * Also see <a href="http://forums.java.net/jive/thread.jspa?threadID=13670">this related discussion</a>. * * @since JAXB 2.1 EA2 * @author Kohsuke Kawaguchi */ public interface CycleRecoverable { --- 30,46 ---- /** * Optional interface that can be implemented by JAXB-bound objects * to handle cycles in the object graph. * * <p> ! * As discussed in <a href="https://javaee.github.io/jaxb-v2/doc/user-guide/ch03.html#annotating-your-classes-mapping-cyclic-references-to-xml"> * the users' guide</a>, 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. * * <p> * Implementing this interface allows user application to change this behavior. * * @since JAXB 2.1 EA2 * @author Kohsuke Kawaguchi */ public interface CycleRecoverable {
< prev index next >