src/share/classes/javax/swing/text/AbstractDocument.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2008, 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, 2014, 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
*** 94,103 **** --- 94,104 ---- * has been added to the <code>java.beans</code> package. * Please see {@link java.beans.XMLEncoder}. * * @author Timothy Prinzing */ + @SuppressWarnings("serial") // Same-version serialization only public abstract class AbstractDocument implements Document, Serializable { /** * Constructs a new <code>AbstractDocument</code>, wrapped around some * specified content storage mechanism.
*** 1780,1789 **** --- 1781,1791 ---- * the same version of Swing. As of 1.4, support for long term storage * of all JavaBeans&trade; * has been added to the <code>java.beans</code> package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only public abstract class AbstractElement implements Element, MutableAttributeSet, Serializable, TreeNode { /** * Creates a new AbstractElement. *
*** 2249,2258 **** --- 2251,2261 ---- * the same version of Swing. As of 1.4, support for long term storage * of all JavaBeans&trade; * has been added to the <code>java.beans</code> package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only public class BranchElement extends AbstractElement { /** * Constructs a composite element that initially contains * no children.
*** 2505,2514 **** --- 2508,2518 ---- * has been added to the <code>java.beans</code> package. * Please see {@link java.beans.XMLEncoder}. * * @see Element */ + @SuppressWarnings("serial") // Same-version serialization only public class LeafElement extends AbstractElement { /** * Constructs an element that represents content within the * document (has no children).