001    /*
002     * Copyright 2001-2004 The Apache Software Foundation.
003     * 
004     * Licensed under the Apache License, Version 2.0 (the "License");
005     * you may not use this file except in compliance with the License.
006     * You may obtain a copy of the License at
007     * 
008     *      http://www.apache.org/licenses/LICENSE-2.0
009     * 
010     * Unless required by applicable law or agreed to in writing, software
011     * distributed under the License is distributed on an "AS IS" BASIS,
012     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013     * See the License for the specific language governing permissions and
014     * limitations under the License.
015     */
016    package javax.xml.soap;
017    
018    /**
019     * A <code>SOAPBodyElement</code> object represents the contents in
020     * a <code>SOAPBody</code> object.  The <code>SOAPFault</code> interface
021     * is a <code>SOAPBodyElement</code> object that has been defined.
022     * <P>
023     * A new <code>SOAPBodyElement</code> object can be created and added
024     * to a <code>SOAPBody</code> object with the <code>SOAPBody</code>
025     * method <code>addBodyElement</code>. In the following line of code,
026     * <code>sb</code> is a <code>SOAPBody</code> object, and
027     * <code>myName</code> is a <code>Name</code> object.
028     * <PRE>
029     *   SOAPBodyElement sbe = sb.addBodyElement(myName);
030     * </PRE>
031     */
032    public interface SOAPBodyElement extends SOAPElement {}