1 /* |
1 /* |
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
37 |
37 |
38 import com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl; |
38 import com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl; |
39 import com.sun.xml.internal.messaging.saaj.soap.SOAPDocumentImpl; |
39 import com.sun.xml.internal.messaging.saaj.soap.SOAPDocumentImpl; |
40 import com.sun.xml.internal.messaging.saaj.soap.impl.EnvelopeImpl; |
40 import com.sun.xml.internal.messaging.saaj.soap.impl.EnvelopeImpl; |
41 import com.sun.xml.internal.messaging.saaj.soap.name.NameImpl; |
41 import com.sun.xml.internal.messaging.saaj.soap.name.NameImpl; |
|
42 import org.w3c.dom.Element; |
42 |
43 |
43 public class Envelope1_2Impl extends EnvelopeImpl { |
44 public class Envelope1_2Impl extends EnvelopeImpl { |
44 |
45 |
45 protected static final Logger log = |
46 protected static final Logger log = |
46 Logger.getLogger(Envelope1_2Impl.class.getName(), |
47 Logger.getLogger(Envelope1_2Impl.class.getName(), |
47 "com.sun.xml.internal.messaging.saaj.soap.ver1_2.LocalStrings"); |
48 "com.sun.xml.internal.messaging.saaj.soap.ver1_2.LocalStrings"); |
48 |
49 |
49 public Envelope1_2Impl(SOAPDocumentImpl ownerDoc, String prefix) { |
50 public Envelope1_2Impl(SOAPDocumentImpl ownerDoc, String prefix) { |
50 super(ownerDoc, NameImpl.createEnvelope1_2Name(prefix)); |
51 super(ownerDoc, NameImpl.createEnvelope1_2Name(prefix)); |
|
52 } |
|
53 |
|
54 public Envelope1_2Impl(SOAPDocumentImpl ownerDoc, Element domElement) { |
|
55 super(ownerDoc, domElement); |
51 } |
56 } |
52 |
57 |
53 public Envelope1_2Impl( |
58 public Envelope1_2Impl( |
54 SOAPDocumentImpl ownerDoc, |
59 SOAPDocumentImpl ownerDoc, |
55 String prefix, |
60 String prefix, |