jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/soap/impl/FaultElementImpl.java
equal
deleted
inserted
replaced
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 |
32 import javax.xml.soap.SOAPElement; |
32 import javax.xml.soap.SOAPElement; |
33 import javax.xml.soap.SOAPFaultElement; |
33 import javax.xml.soap.SOAPFaultElement; |
34 |
34 |
35 import com.sun.xml.internal.messaging.saaj.soap.SOAPDocumentImpl; |
35 import com.sun.xml.internal.messaging.saaj.soap.SOAPDocumentImpl; |
36 import com.sun.xml.internal.messaging.saaj.soap.name.NameImpl; |
36 import com.sun.xml.internal.messaging.saaj.soap.name.NameImpl; |
|
37 import org.w3c.dom.Element; |
37 |
38 |
38 public abstract class FaultElementImpl |
39 public abstract class FaultElementImpl |
39 extends ElementImpl |
40 extends ElementImpl |
40 implements SOAPFaultElement { |
41 implements SOAPFaultElement { |
41 |
42 |
43 super(ownerDoc, qname); |
44 super(ownerDoc, qname); |
44 } |
45 } |
45 |
46 |
46 protected FaultElementImpl(SOAPDocumentImpl ownerDoc, QName qname) { |
47 protected FaultElementImpl(SOAPDocumentImpl ownerDoc, QName qname) { |
47 super(ownerDoc, qname); |
48 super(ownerDoc, qname); |
|
49 } |
|
50 |
|
51 public FaultElementImpl(SOAPDocumentImpl ownerDoc, Element domElement) { |
|
52 super(ownerDoc, domElement); |
48 } |
53 } |
49 |
54 |
50 protected abstract boolean isStandardFaultElement(); |
55 protected abstract boolean isStandardFaultElement(); |
51 |
56 |
52 public SOAPElement setElementQName(QName newName) throws SOAPException { |
57 public SOAPElement setElementQName(QName newName) throws SOAPException { |