< prev index next >

jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/soap/StaxLazySourceBridge.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 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

@@ -48,10 +48,11 @@
                 super(soapPart);
                 lazySource = src;
                 final String soapEnvNS = soapPart.getSOAPNamespace();
                 try {
                         breakpoint = new XMLStreamReaderToXMLStreamWriter.Breakpoint(src.readToBodyStarTag(), saajWriter) {
+                @Override
                                         public boolean proceedAfterStartElement()  {
                                                 if ("Body".equals(reader.getLocalName()) && soapEnvNS.equals(reader.getNamespaceURI()) ){
                                                         return false;
                                                 } else
                                                         return true;

@@ -93,10 +94,11 @@
             }
         }
         return null;
     }
 
+        @Override
         public void bridgePayload() throws XMLStreamException {
                 //Assuming out is at Body
                 writePayloadTo(saajWriter);
         }
 
< prev index next >