Debian Codegraph @

src/javax/xml/soap/SOAPBodyElement.java

raw
1 /*
2 * Copyright 2001-2004 The Apache Software Foundation.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 package javax.xml.soap;
17
18 /**
19 * A <code>SOAPBodyElement</code> object represents the contents in
20 * a <code>SOAPBody</code> object. The <code>SOAPFault</code> interface
21 * is a <code>SOAPBodyElement</code> object that has been defined.
22 * <P>
23 * A new <code>SOAPBodyElement</code> object can be created and added
24 * to a <code>SOAPBody</code> object with the <code>SOAPBody</code>
25 * method <code>addBodyElement</code>. In the following line of code,
26 * <code>sb</code> is a <code>SOAPBody</code> object, and
27 * <code>myName</code> is a <code>Name</code> object.
28 * <PRE>
29 * SOAPBodyElement sbe = sb.addBodyElement(myName);
30 * </PRE>
31 */
32 public interface SOAPBodyElement extends SOAPElement {}