KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * Copyright 2002-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
17 package org.jboss.axis.message;
18
19 import org.jboss.axis.AxisFault;
20 import org.jboss.axis.NotImplementedException;
21 import org.jboss.axis.encoding.DeserializationContext;
22 import org.jboss.logging.Logger;
23 import org.xml.sax.Attributes JavaDoc;
24
25 import javax.xml.soap.Name JavaDoc;
26 import javax.xml.soap.SOAPException JavaDoc;
27 import javax.xml.soap.SOAPHeader JavaDoc;
28 import javax.xml.soap.SOAPHeaderElement JavaDoc;
29 import java.util.Iterator JavaDoc;
30
31
32 /**
33  * An implemenation of the abstract SOAPEnvelope.
34  * <p/>
35  * This class should not expose functionality that is not part of
36  * {@link javax.xml.soap.SOAPHeader}. Client code should use <code>SOAPHeader</code> if possible.
37  *
38  * @author Thomas Diesler (thomas.diesler@jboss.org)
39  */

40 public class SOAPHeaderImpl extends SOAPElementAxisImpl implements SOAPHeader JavaDoc
41 {
42
43    private static Logger log = Logger.getLogger(SOAPHeaderImpl.class.getName());
44
45    SOAPHeaderImpl(String JavaDoc localPart, String JavaDoc prefix, String JavaDoc namespace)
46    {
47       super(localPart, prefix, namespace);
48    }
49
50    SOAPHeaderImpl(String JavaDoc namespace, String JavaDoc localPart, String JavaDoc prefix, Attributes JavaDoc attributes, DeserializationContext context) throws AxisFault
51    {
52       super(namespace, localPart, prefix, attributes, context);
53    }
54
55    public SOAPHeaderElement JavaDoc addHeaderElement(Name JavaDoc name) throws SOAPException JavaDoc
56    {
57       throw new NotImplementedException();
58    }
59
60    public Iterator JavaDoc examineAllHeaderElements()
61    {
62       throw new NotImplementedException();
63    }
64
65    public Iterator JavaDoc examineHeaderElements(String JavaDoc actor)
66    {
67       throw new NotImplementedException();
68    }
69
70    public Iterator JavaDoc examineMustUnderstandHeaderElements(String JavaDoc actor)
71    {
72       throw new NotImplementedException();
73    }
74
75    public Iterator JavaDoc extractAllHeaderElements()
76    {
77       throw new NotImplementedException();
78    }
79
80    public Iterator JavaDoc extractHeaderElements(String JavaDoc actor)
81    {
82       throw new NotImplementedException();
83    }
84 }
85
Popular Tags