src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/XMLSerializer.java

Print this page

        

*** 810,820 **** * if non-null, this value is printed on the root element as xsi:schemaLocation * @param noNsSchemaLocation * Similar to 'schemaLocation' but this one works for xsi:noNamespaceSchemaLocation */ public void startDocument(XmlOutput out,boolean fragment,String schemaLocation,String noNsSchemaLocation) throws IOException, SAXException, XMLStreamException { - setThreadAffinity(); pushCoordinator(); nsContext.reset(); nse = nsContext.getCurrent(); if(attachmentMarshaller!=null && attachmentMarshaller.isXOPPackage()) out = new MTOMXmlOutput(out); --- 810,819 ----
*** 839,849 **** public void close() { out = null; clearCurrentProperty(); popCoordinator(); - resetThreadAffinity(); } /** * This method can be called after {@link #startDocument} is called * but before the marshalling begins, to set the currently in-scope namespace --- 838,847 ----