1 /* |
1 /* |
2 * Copyright (c) 1997, 2012, 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 |
38 import com.sun.xml.internal.messaging.saaj.soap.SOAPDocument; |
38 import com.sun.xml.internal.messaging.saaj.soap.SOAPDocument; |
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.HeaderImpl; |
40 import com.sun.xml.internal.messaging.saaj.soap.impl.HeaderImpl; |
41 import com.sun.xml.internal.messaging.saaj.soap.name.NameImpl; |
41 import com.sun.xml.internal.messaging.saaj.soap.name.NameImpl; |
42 import com.sun.xml.internal.messaging.saaj.util.LogDomainConstants; |
42 import com.sun.xml.internal.messaging.saaj.util.LogDomainConstants; |
|
43 import org.w3c.dom.Element; |
43 |
44 |
44 public class Header1_1Impl extends HeaderImpl { |
45 public class Header1_1Impl extends HeaderImpl { |
45 |
46 |
46 protected static final Logger log = |
47 protected static final Logger log = |
47 Logger.getLogger(LogDomainConstants.SOAP_VER1_1_DOMAIN, |
48 Logger.getLogger(LogDomainConstants.SOAP_VER1_1_DOMAIN, |
48 "com.sun.xml.internal.messaging.saaj.soap.ver1_1.LocalStrings"); |
49 "com.sun.xml.internal.messaging.saaj.soap.ver1_1.LocalStrings"); |
49 |
50 |
50 public Header1_1Impl(SOAPDocumentImpl ownerDocument, String prefix) { |
51 public Header1_1Impl(SOAPDocumentImpl ownerDocument, String prefix) { |
51 super(ownerDocument, NameImpl.createHeader1_1Name(prefix)); |
52 super(ownerDocument, NameImpl.createHeader1_1Name(prefix)); |
|
53 } |
|
54 |
|
55 public Header1_1Impl(SOAPDocumentImpl ownerDoc, Element domElement) { |
|
56 super(ownerDoc, domElement); |
52 } |
57 } |
53 |
58 |
54 protected NameImpl getNotUnderstoodName() { |
59 protected NameImpl getNotUnderstoodName() { |
55 log.log( |
60 log.log( |
56 Level.SEVERE, |
61 Level.SEVERE, |