jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/soap/ver1_2/Body1_2Impl.java
equal
deleted
inserted
replaced
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 |
32 import java.util.logging.Logger; |
32 import java.util.logging.Logger; |
33 |
33 |
34 import javax.xml.namespace.QName; |
34 import javax.xml.namespace.QName; |
35 import javax.xml.soap.*; |
35 import javax.xml.soap.*; |
36 |
36 |
|
37 import org.w3c.dom.Element; |
37 import org.w3c.dom.Node; |
38 import org.w3c.dom.Node; |
38 |
39 |
39 import com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl; |
40 import com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl; |
40 import com.sun.xml.internal.messaging.saaj.soap.SOAPDocument; |
41 import com.sun.xml.internal.messaging.saaj.soap.SOAPDocument; |
41 import com.sun.xml.internal.messaging.saaj.soap.SOAPDocumentImpl; |
42 import com.sun.xml.internal.messaging.saaj.soap.SOAPDocumentImpl; |
48 Logger.getLogger(Body1_2Impl.class.getName(), |
49 Logger.getLogger(Body1_2Impl.class.getName(), |
49 "com.sun.xml.internal.messaging.saaj.soap.ver1_2.LocalStrings"); |
50 "com.sun.xml.internal.messaging.saaj.soap.ver1_2.LocalStrings"); |
50 |
51 |
51 public Body1_2Impl(SOAPDocumentImpl ownerDocument, String prefix) { |
52 public Body1_2Impl(SOAPDocumentImpl ownerDocument, String prefix) { |
52 super(ownerDocument, NameImpl.createBody1_2Name(prefix)); |
53 super(ownerDocument, NameImpl.createBody1_2Name(prefix)); |
|
54 } |
|
55 |
|
56 public Body1_2Impl(SOAPDocumentImpl ownerDoc, Element domElement) { |
|
57 super(ownerDoc, domElement); |
53 } |
58 } |
54 |
59 |
55 protected NameImpl getFaultName(String name) { |
60 protected NameImpl getFaultName(String name) { |
56 return NameImpl.createFault1_2Name(name, null); |
61 return NameImpl.createFault1_2Name(name, null); |
57 } |
62 } |