KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > axis > message > SOAPBodyImpl


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 org.jboss.axis.message;
17
18 // $Id: SOAPBodyImpl.java,v 1.1.2.1 2005/03/02 14:29:31 tdiesler Exp $
19

20 import org.jboss.axis.AxisFault;
21 import org.jboss.axis.NotImplementedException;
22 import org.jboss.axis.encoding.DeserializationContext;
23 import org.jboss.logging.Logger;
24 import org.w3c.dom.Document JavaDoc;
25 import org.xml.sax.Attributes JavaDoc;
26
27 import javax.xml.soap.Name JavaDoc;
28 import javax.xml.soap.SOAPBody JavaDoc;
29 import javax.xml.soap.SOAPBodyElement JavaDoc;
30 import javax.xml.soap.SOAPException JavaDoc;
31 import javax.xml.soap.SOAPFault JavaDoc;
32 import java.util.Locale JavaDoc;
33
34 /**
35  * An implemenation of the abstract SOAPBody.
36  * <p/>
37  * This class should not expose functionality that is not part of
38  * {@link SOAPBody}. Client code should use <code>SOAPBody</code> whenever possible.
39  *
40  * @author Thomas Diesler (thomas.diesler@jboss.org)
41  */

42 public class SOAPBodyImpl extends SOAPElementAxisImpl implements SOAPBody JavaDoc
43 {
44
45    private static Logger log = Logger.getLogger(SOAPBodyImpl.class.getName());
46
47    public SOAPBodyImpl(String JavaDoc namespace, String JavaDoc localPart)
48    {
49       super(namespace, localPart);
50    }
51
52    public SOAPBodyImpl(String JavaDoc namespace, String JavaDoc localPart, String JavaDoc prefix, Attributes JavaDoc attributes, DeserializationContext context) throws AxisFault
53    {
54       super(namespace, localPart, prefix, attributes, context);
55    }
56
57    public SOAPBodyElement JavaDoc addBodyElement(Name JavaDoc name) throws SOAPException JavaDoc
58    {
59       throw new NotImplementedException();
60    }
61
62    public SOAPBodyElement JavaDoc addDocument(Document JavaDoc doc) throws SOAPException JavaDoc
63    {
64       throw new NotImplementedException();
65    }
66
67    public SOAPFault JavaDoc addFault() throws SOAPException JavaDoc
68    {
69       throw new NotImplementedException();
70    }
71
72    public SOAPFault JavaDoc addFault(Name JavaDoc faultCode, String JavaDoc faultString) throws SOAPException JavaDoc
73    {
74       throw new NotImplementedException();
75    }
76
77    public SOAPFault JavaDoc addFault(Name JavaDoc faultCode, String JavaDoc faultString, Locale JavaDoc locale) throws SOAPException JavaDoc
78    {
79       throw new NotImplementedException();
80    }
81
82    public SOAPFault JavaDoc getFault()
83    {
84       throw new NotImplementedException();
85    }
86
87    public boolean hasFault()
88    {
89       throw new NotImplementedException();
90    }
91
92 }
93
Popular Tags