jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/soap/ver1_1/Fault1_1Impl.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
    44 import com.sun.xml.internal.messaging.saaj.soap.SOAPDocumentImpl;
    44 import com.sun.xml.internal.messaging.saaj.soap.SOAPDocumentImpl;
    45 import com.sun.xml.internal.messaging.saaj.soap.impl.*;
    45 import com.sun.xml.internal.messaging.saaj.soap.impl.*;
    46 import com.sun.xml.internal.messaging.saaj.soap.name.NameImpl;
    46 import com.sun.xml.internal.messaging.saaj.soap.name.NameImpl;
    47 import com.sun.xml.internal.messaging.saaj.util.LogDomainConstants;
    47 import com.sun.xml.internal.messaging.saaj.util.LogDomainConstants;
    48 import com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl;
    48 import com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl;
       
    49 import org.w3c.dom.Element;
    49 
    50 
    50 
    51 
    51 public class Fault1_1Impl extends FaultImpl {
    52 public class Fault1_1Impl extends FaultImpl {
    52 
    53 
    53     protected static final Logger log =
    54     protected static final Logger log =
    55             LogDomainConstants.SOAP_VER1_1_DOMAIN,
    56             LogDomainConstants.SOAP_VER1_1_DOMAIN,
    56             "com.sun.xml.internal.messaging.saaj.soap.ver1_1.LocalStrings");
    57             "com.sun.xml.internal.messaging.saaj.soap.ver1_1.LocalStrings");
    57 
    58 
    58     public Fault1_1Impl(SOAPDocumentImpl ownerDocument, String prefix) {
    59     public Fault1_1Impl(SOAPDocumentImpl ownerDocument, String prefix) {
    59        super(ownerDocument, NameImpl.createFault1_1Name(prefix));
    60        super(ownerDocument, NameImpl.createFault1_1Name(prefix));
       
    61     }
       
    62 
       
    63     public Fault1_1Impl(Element domElement, SOAPDocumentImpl ownerDoc) {
       
    64         super(ownerDoc, domElement);
    60     }
    65     }
    61 
    66 
    62     protected NameImpl getDetailName() {
    67     protected NameImpl getDetailName() {
    63         return NameImpl.createDetail1_1Name();
    68         return NameImpl.createDetail1_1Name();
    64     }
    69     }