1 /* 2 * $Id: SOAPBodyElement.java,v 1.3 2005/04/05 22:28:13 mk125090 Exp $ 3 * $Revision: 1.3 $ 4 * $Date: 2005/04/05 22:28:13 $ 5 */ 6 7 /* 8 * The contents of this file are subject to the terms 9 * of the Common Development and Distribution License 10 * (the License). You may not use this file except in 11 * compliance with the License. 12 * 13 * You can obtain a copy of the license at 14 * https://glassfish.dev.java.net/public/CDDLv1.0.html. 15 * See the License for the specific language governing 16 * permissions and limitations under the License. 17 * 18 * When distributing Covered Code, include this CDDL 19 * Header Notice in each file and include the License file 20 * at https://glassfish.dev.java.net/public/CDDLv1.0.html. 21 * If applicable, add the following below the CDDL Header, 22 * with the fields enclosed by brackets [] replaced by 23 * you own identifying information: 24 * "Portions Copyrighted [year] [name of copyright owner]" 25 * 26 * Copyright 2006 Sun Microsystems Inc. All Rights Reserved 27 */ 28 package javax.xml.soap; 29 30 /** 31 * A <code>SOAPBodyElement</code> object represents the contents in 32 * a <code>SOAPBody</code> object. The <code>SOAPFault</code> interface 33 * is a <code>SOAPBodyElement</code> object that has been defined. 34 * <P> 35 * A new <code>SOAPBodyElement</code> object can be created and added 36 * to a <code>SOAPBody</code> object with the <code>SOAPBody</code> 37 * method <code>addBodyElement</code>. In the following line of code, 38 * <code>sb</code> is a <code>SOAPBody</code> object, and 39 * <code>myName</code> is a <code>Name</code> object. 40 * <PRE> 41 * SOAPBodyElement sbe = sb.addBodyElement(myName); 42 * </PRE> 43 */ 44 public interface SOAPBodyElement extends SOAPElement { 45 } 46