1 /*
2 * $Id: SOAPBodyElement.java,v 1.2 2004/04/02 01:24:17 ofung Exp $
3 * $Revision: 1.2 $
4 * $Date: 2004/04/02 01:24:17 $
5 */
6
7 /*
8 * Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
9 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
10 *
11 * This code is free software; you can redistribute it and/or modify it
12 * under the terms of the GNU General Public License version 2 only, as
13 * published by the Free Software Foundation. Sun designates this
14 * particular file as subject to the "Classpath" exception as provided
15 * by Sun in the LICENSE file that accompanied this code.
16 *
17 * This code is distributed in the hope that it will be useful, but WITHOUT
18 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
19 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
20 * version 2 for more details (a copy is included in the LICENSE file that
21 * accompanied this code).
22 *
23 * You should have received a copy of the GNU General Public License version
24 * 2 along with this work; if not, write to the Free Software Foundation,
25 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
26 *
27 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
28 * CA 95054 USA or visit www.sun.com if you need additional information or
29 * have any questions.
30 */
31 package javax.xml.soap;
32
33 /**
34 * A <code>SOAPBodyElement</code> object represents the contents in
35 * a <code>SOAPBody</code> object. The <code>SOAPFault</code> interface
36 * is a <code>SOAPBodyElement</code> object that has been defined.
37 * <P>
38 * A new <code>SOAPBodyElement</code> object can be created and added
39 * to a <code>SOAPBody</code> object with the <code>SOAPBody</code>
40 * method <code>addBodyElement</code>. In the following line of code,
41 * <code>sb</code> is a <code>SOAPBody</code> object, and
42 * <code>myName</code> is a <code>Name</code> object.
43 * <PRE>
44 * SOAPBodyElement sbe = sb.addBodyElement(myName);
45 * </PRE>
46 */
47 public interface SOAPBodyElement extends SOAPElement {
48 }