< prev index next >

src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/runtime/output/FastInfosetStreamWriterOutput.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, 2015, 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
*** 40,50 **** import javax.xml.bind.JAXBContext; import com.sun.xml.internal.org.jvnet.fastinfoset.VocabularyApplicationData; import org.xml.sax.SAXException; /** ! * {@link XmlOutput} for {@link LowLevelStAXDocumentSerializer}. * <p> * This class is responsible for managing the indexing of elements, attributes * and local names that are known to JAXB by way of the JAXBContext (generated * from JAXB beans or schema). The pre-encoded UTF-8 representations of known * local names are also utilized. --- 40,50 ---- import javax.xml.bind.JAXBContext; import com.sun.xml.internal.org.jvnet.fastinfoset.VocabularyApplicationData; import org.xml.sax.SAXException; /** ! * {@link XmlOutput} for {@link StAXDocumentSerializer}. * <p> * This class is responsible for managing the indexing of elements, attributes * and local names that are known to JAXB by way of the JAXBContext (generated * from JAXB beans or schema). The pre-encoded UTF-8 representations of known * local names are also utilized.
*** 97,107 **** boolean requiresClear; /** * Create a new set of tables for a JAXB context. * <p> ! * @param content the JAXB context. * @param initialIndexOffset the initial index offset to calculate * the maximum possible index * */ TablesPerJAXBContext(JAXBContextImpl context, int initialIndexOffset) { --- 97,107 ---- boolean requiresClear; /** * Create a new set of tables for a JAXB context. * <p> ! * @param context the JAXB context. * @param initialIndexOffset the initial index offset to calculate * the maximum possible index * */ TablesPerJAXBContext(JAXBContextImpl context, int initialIndexOffset) {
*** 122,132 **** } /** * Clear or reset the tables. * <p> ! * @param initialIndexOffset the initial index offset to calculate * the maximum possible index */ public void clearOrResetTables(int intialIndexOffset) { if (requiresClear) { requiresClear = false; --- 122,132 ---- } /** * Clear or reset the tables. * <p> ! * @param intialIndexOffset the initial index offset to calculate * the maximum possible index */ public void clearOrResetTables(int intialIndexOffset) { if (requiresClear) { requiresClear = false;
*** 200,210 **** /** * Holder of JAXB contexts -> tables. * <p> * An instance will be registered with the ! * {@link LowLevelStAXDocumentSerializer}. */ final static class AppData implements VocabularyApplicationData { final Map<JAXBContext, TablesPerJAXBContext> contexts = new WeakHashMap<JAXBContext, TablesPerJAXBContext>(); final Collection<TablesPerJAXBContext> collectionOfContexts = contexts.values(); --- 200,210 ---- /** * Holder of JAXB contexts -> tables. * <p> * An instance will be registered with the ! * {@link StAXDocumentSerializer}. */ final static class AppData implements VocabularyApplicationData { final Map<JAXBContext, TablesPerJAXBContext> contexts = new WeakHashMap<JAXBContext, TablesPerJAXBContext>(); final Collection<TablesPerJAXBContext> collectionOfContexts = contexts.values();
< prev index next >