< prev index next >

jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/runtime/output/FastInfosetStreamWriterOutput.java

Print this page

        

*** 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 --- 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
*** 23,47 **** * questions. */ package com.sun.xml.internal.bind.v2.runtime.output; import com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl; import com.sun.xml.internal.bind.v2.runtime.Name; import com.sun.xml.internal.bind.v2.runtime.XMLSerializer; - import javax.xml.stream.XMLStreamException; - import com.sun.xml.internal.bind.v2.runtime.unmarshaller.Base64Data; import com.sun.xml.internal.fastinfoset.EncodingConstants; import com.sun.xml.internal.fastinfoset.stax.StAXDocumentSerializer; import java.io.IOException; import java.util.Collection; import java.util.Map; import java.util.WeakHashMap; - 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 --- 23,48 ---- * questions. */ package com.sun.xml.internal.bind.v2.runtime.output; + import com.sun.xml.internal.bind.marshaller.NoEscapeHandler; import com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl; import com.sun.xml.internal.bind.v2.runtime.Name; import com.sun.xml.internal.bind.v2.runtime.XMLSerializer; import com.sun.xml.internal.bind.v2.runtime.unmarshaller.Base64Data; import com.sun.xml.internal.fastinfoset.EncodingConstants; import com.sun.xml.internal.fastinfoset.stax.StAXDocumentSerializer; + import com.sun.xml.internal.org.jvnet.fastinfoset.VocabularyApplicationData; + import org.xml.sax.SAXException; + + import javax.xml.bind.JAXBContext; + import javax.xml.stream.XMLStreamException; import java.io.IOException; import java.util.Collection; import java.util.Map; import java.util.WeakHashMap; /** * {@link XmlOutput} for {@link StAXDocumentSerializer}. * <p> * This class is responsible for managing the indexing of elements, attributes
*** 218,228 **** } } public FastInfosetStreamWriterOutput(StAXDocumentSerializer out, JAXBContextImpl context) { ! super(out); this.fiout = out; this.localNames = context.getUTF8NameTable(); final VocabularyApplicationData vocabAppData = fiout.getVocabularyApplicationData(); --- 219,229 ---- } } public FastInfosetStreamWriterOutput(StAXDocumentSerializer out, JAXBContextImpl context) { ! super(out, NoEscapeHandler.theInstance); this.fiout = out; this.localNames = context.getUTF8NameTable(); final VocabularyApplicationData vocabAppData = fiout.getVocabularyApplicationData();
< prev index next >