jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/soap/ver1_2/Header1_2Impl.java
changeset 43852 93a527059d8a
parent 33547 e4c76ac38b12
child 45678 65fdff10664d
equal deleted inserted replaced
43752:3c68ef249093 43852:93a527059d8a
     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
    39 import com.sun.xml.internal.messaging.saaj.soap.SOAPDocument;
    39 import com.sun.xml.internal.messaging.saaj.soap.SOAPDocument;
    40 import com.sun.xml.internal.messaging.saaj.soap.SOAPDocumentImpl;
    40 import com.sun.xml.internal.messaging.saaj.soap.SOAPDocumentImpl;
    41 import com.sun.xml.internal.messaging.saaj.soap.impl.HeaderImpl;
    41 import com.sun.xml.internal.messaging.saaj.soap.impl.HeaderImpl;
    42 import com.sun.xml.internal.messaging.saaj.soap.name.NameImpl;
    42 import com.sun.xml.internal.messaging.saaj.soap.name.NameImpl;
    43 import com.sun.xml.internal.messaging.saaj.util.LogDomainConstants;
    43 import com.sun.xml.internal.messaging.saaj.util.LogDomainConstants;
       
    44 import org.w3c.dom.Element;
    44 
    45 
    45 
    46 
    46 public class Header1_2Impl extends HeaderImpl {
    47 public class Header1_2Impl extends HeaderImpl {
    47 
    48 
    48     protected static final Logger log =
    49     protected static final Logger log =
    50             LogDomainConstants.SOAP_VER1_2_DOMAIN,
    51             LogDomainConstants.SOAP_VER1_2_DOMAIN,
    51             "com.sun.xml.internal.messaging.saaj.soap.ver1_2.LocalStrings");
    52             "com.sun.xml.internal.messaging.saaj.soap.ver1_2.LocalStrings");
    52 
    53 
    53     public Header1_2Impl(SOAPDocumentImpl ownerDocument, String prefix) {
    54     public Header1_2Impl(SOAPDocumentImpl ownerDocument, String prefix) {
    54         super(ownerDocument, NameImpl.createHeader1_2Name(prefix));
    55         super(ownerDocument, NameImpl.createHeader1_2Name(prefix));
       
    56     }
       
    57 
       
    58     public Header1_2Impl(SOAPDocumentImpl ownerDoc, Element domElement) {
       
    59         super(ownerDoc, domElement);
    55     }
    60     }
    56 
    61 
    57     protected NameImpl getNotUnderstoodName() {
    62     protected NameImpl getNotUnderstoodName() {
    58         return NameImpl.createNotUnderstood1_2Name(null);
    63         return NameImpl.createNotUnderstood1_2Name(null);
    59     }
    64     }