jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/soap/ver1_2/Detail1_2Impl.java
changeset 43852 93a527059d8a
parent 28326 2b9860c0d68a
child 45678 65fdff10664d
equal deleted inserted replaced
43752:3c68ef249093 43852:93a527059d8a
     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 import com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl;
    37 import com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl;
    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.DetailImpl;
    40 import com.sun.xml.internal.messaging.saaj.soap.impl.DetailImpl;
    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 Detail1_2Impl extends DetailImpl {
    44 public class Detail1_2Impl extends DetailImpl {
    44 
    45 
    45     protected static final Logger log =
    46     protected static final Logger log =
    46         Logger.getLogger(Detail1_2Impl.class.getName(),
    47         Logger.getLogger(Detail1_2Impl.class.getName(),
    50         super(ownerDocument, NameImpl.createSOAP12Name("Detail", prefix));
    51         super(ownerDocument, NameImpl.createSOAP12Name("Detail", prefix));
    51     }
    52     }
    52 
    53 
    53     public Detail1_2Impl(SOAPDocumentImpl ownerDocument) {
    54     public Detail1_2Impl(SOAPDocumentImpl ownerDocument) {
    54         super(ownerDocument, NameImpl.createSOAP12Name("Detail"));
    55         super(ownerDocument, NameImpl.createSOAP12Name("Detail"));
       
    56     }
       
    57 
       
    58     public Detail1_2Impl(SOAPDocumentImpl ownerDoc, Element domElement) {
       
    59         super(ownerDoc, domElement);
    55     }
    60     }
    56 
    61 
    57     protected DetailEntry createDetailEntry(Name name) {
    62     protected DetailEntry createDetailEntry(Name name) {
    58         return new DetailEntry1_2Impl(
    63         return new DetailEntry1_2Impl(
    59             ((SOAPDocument) getOwnerDocument()).getDocument(),
    64             ((SOAPDocument) getOwnerDocument()).getDocument(),