1.1 --- a/src/share/classes/com/sun/xml/internal/messaging/saaj/soap/ver1_1/Fault1_1Impl.java Mon Mar 09 13:34:04 2009 -0700 1.2 +++ b/src/share/classes/com/sun/xml/internal/messaging/saaj/soap/ver1_1/Fault1_1Impl.java Mon Apr 20 15:14:39 2009 -0700 1.3 @@ -1,9 +1,5 @@ 1.4 /* 1.5 - * $Id: Fault1_1Impl.java,v 1.20 2006/01/27 12:49:41 vj135062 Exp $ 1.6 - */ 1.7 - 1.8 -/* 1.9 - * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. 1.10 + * Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved. 1.11 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.12 * 1.13 * This code is free software; you can redistribute it and/or modify it 1.14 @@ -26,6 +22,11 @@ 1.15 * CA 95054 USA or visit www.sun.com if you need additional information or 1.16 * have any questions. 1.17 */ 1.18 +/* 1.19 + * $Id: Fault1_1Impl.java,v 1.1.1.1 2006/01/27 13:10:57 kumarjayanti Exp $ 1.20 + */ 1.21 + 1.22 + 1.23 1.24 /** 1.25 * 1.26 @@ -301,4 +302,17 @@ 1.27 } 1.28 return super.addChildElement(element); 1.29 } 1.30 + 1.31 + protected FaultElementImpl createSOAPFaultElement(QName qname) { 1.32 + return new FaultElement1_1Impl( 1.33 + ((SOAPDocument) getOwnerDocument()).getDocument(), 1.34 + qname); 1.35 + } 1.36 + 1.37 + protected FaultElementImpl createSOAPFaultElement(Name qname) { 1.38 + return new FaultElement1_1Impl( 1.39 + ((SOAPDocument) getOwnerDocument()).getDocument(), 1.40 + (NameImpl)qname); 1.41 + } 1.42 + 1.43 }