Debian Codegraph @

docs/apiDocs/javax/xml/soap/SOAPHeader.html

raw
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by javadoc (build 1.4.2_08) on Sat Apr 22 18:57:16 PDT 2006 -->
6 <TITLE>
7 SOAPHeader (Axis API)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="javax.xml.soap.SOAPHeader interface">
11
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
13
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17 parent.document.title="SOAPHeader (Axis API)";
18 }
19 </SCRIPT>
20
21 </HEAD>
22
23 <BODY BGCOLOR="white" onload="windowTitle();">
24
25
26 <!-- ========= START OF TOP NAVBAR ======= -->
27 <A NAME="navbar_top"><!-- --></A>
28 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
30 <TR>
31 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
32 <A NAME="navbar_top_firstrow"><!-- --></A>
33 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
34 <TR ALIGN="center" VALIGN="top">
35 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SOAPHeader.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
43 </TR>
44 </TABLE>
45 </TD>
46 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
47 </EM>
48 </TD>
49 </TR>
50
51 <TR>
52 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
53 &nbsp;<A HREF="../../../javax/xml/soap/SOAPFaultElement.html" title="interface in javax.xml.soap"><B>PREV CLASS</B></A>&nbsp;
54 &nbsp;<A HREF="../../../javax/xml/soap/SOAPHeaderElement.html" title="interface in javax.xml.soap"><B>NEXT CLASS</B></A></FONT></TD>
55 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56 <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
57 &nbsp;<A HREF="SOAPHeader.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
58 &nbsp;<SCRIPT type="text/javascript">
59 <!--
60 if(window==top) {
61 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
62 }
63 //-->
64 </SCRIPT>
65 <NOSCRIPT>
66 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
67 </NOSCRIPT>
68
69 </FONT></TD>
70 </TR>
71 <TR>
72 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
73 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
74 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
76 </TR>
77 </TABLE>
78 <A NAME="skip-navbar_top"></A>
79 <!-- ========= END OF TOP NAVBAR ========= -->
80
81 <HR>
82 <!-- ======== START OF CLASS DATA ======== -->
83 <H2>
84 <FONT SIZE="-1">
85 javax.xml.soap</FONT>
86 <BR>
87 Interface SOAPHeader</H2>
88 <DL>
89 <DT><B>All Superinterfaces:</B> <DD>org.w3c.dom.Element, <A HREF="../../../javax/xml/soap/Node.html" title="interface in javax.xml.soap">Node</A>, org.w3c.dom.Node, <A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A></DD>
90 </DL>
91 <DL>
92 <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../org/apache/axis/message/SOAPHeader.html" title="class in org.apache.axis.message">SOAPHeader</A></DD>
93 </DL>
94 <HR>
95 <DL>
96 <DT>public interface <B>SOAPHeader</B><DT>extends <A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A></DL>
97
98 <P>
99 <P>A representation of the SOAP header element. A SOAP header
100 element consists of XML data that affects the way the
101 application-specific content is processed by the message
102 provider. For example, transaction semantics, authentication
103 information, and so on, can be specified as the content of a
104 <CODE>SOAPHeader</CODE> object.</P>
105
106 <P>A <CODE>SOAPEnvelope</CODE> object contains an empty <CODE>
107 SOAPHeader</CODE> object by default. If the <CODE>
108 SOAPHeader</CODE> object, which is optional, is not needed, it
109 can be retrieved and deleted with the following line of code.
110 The variable <I>se</I> is a <CODE>SOAPEnvelope</CODE>
111 object.</P>
112 <PRE>
113 se.getHeader().detachNode();
114 </PRE>
115 A <CODE>SOAPHeader</CODE> object is created with the <CODE>
116 SOAPEnvelope</CODE> method <CODE>addHeader</CODE>. This method,
117 which creates a new header and adds it to the envelope, may be
118 called only after the existing header has been removed.
119 <PRE>
120 se.getHeader().detachNode();
121 SOAPHeader sh = se.addHeader();
122 </PRE>
123
124 <P>A <CODE>SOAPHeader</CODE> object can have only <CODE>
125 SOAPHeaderElement</CODE> objects as its immediate children. The
126 method <CODE>addHeaderElement</CODE> creates a new <CODE>
127 HeaderElement</CODE> object and adds it to the <CODE>
128 SOAPHeader</CODE> object. In the following line of code, the
129 argument to the method <CODE>addHeaderElement</CODE> is a
130 <CODE>Name</CODE> object that is the name for the new <CODE>
131 HeaderElement</CODE> object.</P>
132 <PRE>
133 SOAPHeaderElement shElement = sh.addHeaderElement(name);
134 </PRE>
135 <P>
136
137 <P>
138 <DL>
139 <DT><B>See Also:</B><DD><A HREF="../../../javax/xml/soap/SOAPHeaderElement.html" title="interface in javax.xml.soap"><CODE>SOAPHeaderElement</CODE></A></DL>
140 <HR>
141
142 <P>
143 <!-- ======== NESTED CLASS SUMMARY ======== -->
144
145
146 <!-- =========== FIELD SUMMARY =========== -->
147
148 <A NAME="field_summary"><!-- --></A>
149 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
150 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
151 <TD COLSPAN=2><FONT SIZE="+2">
152 <B>Field Summary</B></FONT></TD>
153 </TR>
154 </TABLE>
155 &nbsp;<A NAME="fields_inherited_from_class_org.w3c.dom.Node"><!-- --></A>
156 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
157 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
158 <TD><B>Fields inherited from interface org.w3c.dom.Node</B></TD>
159 </TR>
160 <TR BGCOLOR="white" CLASS="TableRowColor">
161 <TD><CODE>ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE</CODE></TD>
162 </TR>
163 </TABLE>
164 &nbsp;
165 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
166
167
168 <!-- ========== METHOD SUMMARY =========== -->
169
170 <A NAME="method_summary"><!-- --></A>
171 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
172 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
173 <TD COLSPAN=2><FONT SIZE="+2">
174 <B>Method Summary</B></FONT></TD>
175 </TR>
176 <TR BGCOLOR="white" CLASS="TableRowColor">
177 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
178 <CODE>&nbsp;<A HREF="../../../javax/xml/soap/SOAPHeaderElement.html" title="interface in javax.xml.soap">SOAPHeaderElement</A></CODE></FONT></TD>
179 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPHeader.html#addHeaderElement(javax.xml.soap.Name)">addHeaderElement</A></B>(<A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</A>&nbsp;name)</CODE>
180
181 <BR>
182 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new <CODE>SOAPHeaderElement</CODE> object
183 initialized with the specified name and adds it to this
184 <CODE>SOAPHeader</CODE> object.</TD>
185 </TR>
186 <TR BGCOLOR="white" CLASS="TableRowColor">
187 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
188 <CODE>&nbsp;java.util.Iterator</CODE></FONT></TD>
189 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPHeader.html#examineAllHeaderElements()">examineAllHeaderElements</A></B>()</CODE>
190
191 <BR>
192 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an <code>Iterator</code> over all the
193 <code>SOAPHeaderElement</code> objects in this <code>SOAPHeader</code>
194 object.</TD>
195 </TR>
196 <TR BGCOLOR="white" CLASS="TableRowColor">
197 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
198 <CODE>&nbsp;java.util.Iterator</CODE></FONT></TD>
199 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPHeader.html#examineHeaderElements(java.lang.String)">examineHeaderElements</A></B>(java.lang.String&nbsp;actor)</CODE>
200
201 <BR>
202 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of all the <CODE>SOAPHeaderElement</CODE>
203 objects in this <CODE>SOAPHeader</CODE> object that have the
204 the specified actor.</TD>
205 </TR>
206 <TR BGCOLOR="white" CLASS="TableRowColor">
207 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
208 <CODE>&nbsp;java.util.Iterator</CODE></FONT></TD>
209 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPHeader.html#examineMustUnderstandHeaderElements(java.lang.String)">examineMustUnderstandHeaderElements</A></B>(java.lang.String&nbsp;actor)</CODE>
210
211 <BR>
212 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an <code>Iterator</code> over all the
213 <code>SOAPHeaderElement</code> objects in this <code>SOAPHeader</code>
214 object that have the specified actor and that have a MustUnderstand
215 attribute whose value is equivalent to <code>true</code>.</TD>
216 </TR>
217 <TR BGCOLOR="white" CLASS="TableRowColor">
218 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
219 <CODE>&nbsp;java.util.Iterator</CODE></FONT></TD>
220 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPHeader.html#extractAllHeaderElements()">extractAllHeaderElements</A></B>()</CODE>
221
222 <BR>
223 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an <code>Iterator</code> over all the
224 <code>SOAPHeaderElement</code> objects in this <code>SOAPHeader </code>
225 object and detaches them from this <code>SOAPHeader</code> object.</TD>
226 </TR>
227 <TR BGCOLOR="white" CLASS="TableRowColor">
228 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
229 <CODE>&nbsp;java.util.Iterator</CODE></FONT></TD>
230 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPHeader.html#extractHeaderElements(java.lang.String)">extractHeaderElements</A></B>(java.lang.String&nbsp;actor)</CODE>
231
232 <BR>
233 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of all the <CODE>SOAPHeaderElement</CODE>
234 objects in this <CODE>SOAPHeader</CODE> object that have
235 the the specified actor and detaches them from this <CODE>
236 SOAPHeader</CODE> object.</TD>
237 </TR>
238 </TABLE>
239 &nbsp;<A NAME="methods_inherited_from_class_javax.xml.soap.SOAPElement"><!-- --></A>
240 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
241 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
242 <TD><B>Methods inherited from interface javax.xml.soap.<A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A></B></TD>
243 </TR>
244 <TR BGCOLOR="white" CLASS="TableRowColor">
245 <TD><CODE><A HREF="../../../javax/xml/soap/SOAPElement.html#addAttribute(javax.xml.soap.Name, java.lang.String)">addAttribute</A>, <A HREF="../../../javax/xml/soap/SOAPElement.html#addChildElement(javax.xml.soap.Name)">addChildElement</A>, <A HREF="../../../javax/xml/soap/SOAPElement.html#addChildElement(javax.xml.soap.SOAPElement)">addChildElement</A>, <A HREF="../../../javax/xml/soap/SOAPElement.html#addChildElement(java.lang.String)">addChildElement</A>, <A HREF="../../../javax/xml/soap/SOAPElement.html#addChildElement(java.lang.String, java.lang.String)">addChildElement</A>, <A HREF="../../../javax/xml/soap/SOAPElement.html#addChildElement(java.lang.String, java.lang.String, java.lang.String)">addChildElement</A>, <A HREF="../../../javax/xml/soap/SOAPElement.html#addNamespaceDeclaration(java.lang.String, java.lang.String)">addNamespaceDeclaration</A>, <A HREF="../../../javax/xml/soap/SOAPElement.html#addTextNode(java.lang.String)">addTextNode</A>, <A HREF="../../../javax/xml/soap/SOAPElement.html#getAllAttributes()">getAllAttributes</A>, <A HREF="../../../javax/xml/soap/SOAPElement.html#getAttributeValue(javax.xml.soap.Name)">getAttributeValue</A>, <A HREF="../../../javax/xml/soap/SOAPElement.html#getChildElements()">getChildElements</A>, <A HREF="../../../javax/xml/soap/SOAPElement.html#getChildElements(javax.xml.soap.Name)">getChildElements</A>, <A HREF="../../../javax/xml/soap/SOAPElement.html#getElementName()">getElementName</A>, <A HREF="../../../javax/xml/soap/SOAPElement.html#getEncodingStyle()">getEncodingStyle</A>, <A HREF="../../../javax/xml/soap/SOAPElement.html#getNamespacePrefixes()">getNamespacePrefixes</A>, <A HREF="../../../javax/xml/soap/SOAPElement.html#getNamespaceURI(java.lang.String)">getNamespaceURI</A>, <A HREF="../../../javax/xml/soap/SOAPElement.html#getVisibleNamespacePrefixes()">getVisibleNamespacePrefixes</A>, <A HREF="../../../javax/xml/soap/SOAPElement.html#removeAttribute(javax.xml.soap.Name)">removeAttribute</A>, <A HREF="../../../javax/xml/soap/SOAPElement.html#removeContents()">removeContents</A>, <A HREF="../../../javax/xml/soap/SOAPElement.html#removeNamespaceDeclaration(java.lang.String)">removeNamespaceDeclaration</A>, <A HREF="../../../javax/xml/soap/SOAPElement.html#setEncodingStyle(java.lang.String)">setEncodingStyle</A></CODE></TD>
246 </TR>
247 </TABLE>
248 &nbsp;<A NAME="methods_inherited_from_class_javax.xml.soap.Node"><!-- --></A>
249 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
250 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
251 <TD><B>Methods inherited from interface javax.xml.soap.<A HREF="../../../javax/xml/soap/Node.html" title="interface in javax.xml.soap">Node</A></B></TD>
252 </TR>
253 <TR BGCOLOR="white" CLASS="TableRowColor">
254 <TD><CODE><A HREF="../../../javax/xml/soap/Node.html#detachNode()">detachNode</A>, <A HREF="../../../javax/xml/soap/Node.html#getParentElement()">getParentElement</A>, <A HREF="../../../javax/xml/soap/Node.html#getValue()">getValue</A>, <A HREF="../../../javax/xml/soap/Node.html#recycleNode()">recycleNode</A>, <A HREF="../../../javax/xml/soap/Node.html#setParentElement(javax.xml.soap.SOAPElement)">setParentElement</A>, <A HREF="../../../javax/xml/soap/Node.html#setValue(java.lang.String)">setValue</A></CODE></TD>
255 </TR>
256 </TABLE>
257 &nbsp;<A NAME="methods_inherited_from_class_org.w3c.dom.Node"><!-- --></A>
258 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
259 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
260 <TD><B>Methods inherited from interface org.w3c.dom.Node</B></TD>
261 </TR>
262 <TR BGCOLOR="white" CLASS="TableRowColor">
263 <TD><CODE>appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix</CODE></TD>
264 </TR>
265 </TABLE>
266 &nbsp;<A NAME="methods_inherited_from_class_org.w3c.dom.Element"><!-- --></A>
267 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
268 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
269 <TD><B>Methods inherited from interface org.w3c.dom.Element</B></TD>
270 </TR>
271 <TR BGCOLOR="white" CLASS="TableRowColor">
272 <TD><CODE>getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS</CODE></TD>
273 </TR>
274 </TABLE>
275 &nbsp;
276 <P>
277
278 <!-- ============ FIELD DETAIL =========== -->
279
280
281 <!-- ========= CONSTRUCTOR DETAIL ======== -->
282
283
284 <!-- ============ METHOD DETAIL ========== -->
285
286 <A NAME="method_detail"><!-- --></A>
287 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
288 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
289 <TD COLSPAN=1><FONT SIZE="+2">
290 <B>Method Detail</B></FONT></TD>
291 </TR>
292 </TABLE>
293
294 <A NAME="addHeaderElement(javax.xml.soap.Name)"><!-- --></A><H3>
295 addHeaderElement</H3>
296 <PRE>
297 public <A HREF="../../../javax/xml/soap/SOAPHeaderElement.html" title="interface in javax.xml.soap">SOAPHeaderElement</A> <B>addHeaderElement</B>(<A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</A>&nbsp;name)
298 throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE>
299 <DL>
300 <DD>Creates a new <CODE>SOAPHeaderElement</CODE> object
301 initialized with the specified name and adds it to this
302 <CODE>SOAPHeader</CODE> object.
303 <P>
304 <DD><DL>
305 </DL>
306 </DD>
307 <DD><DL>
308 <DT><B>Parameters:</B><DD><CODE>name</CODE> - a <CODE>Name</CODE> object with
309 the name of the new <CODE>SOAPHeaderElement</CODE>
310 object
311 <DT><B>Returns:</B><DD>the new <CODE>SOAPHeaderElement</CODE> object that
312 was inserted into this <CODE>SOAPHeader</CODE>
313 object
314 <DT><B>Throws:</B>
315 <DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if a SOAP error occurs</DL>
316 </DD>
317 </DL>
318 <HR>
319
320 <A NAME="examineHeaderElements(java.lang.String)"><!-- --></A><H3>
321 examineHeaderElements</H3>
322 <PRE>
323 public java.util.Iterator <B>examineHeaderElements</B>(java.lang.String&nbsp;actor)</PRE>
324 <DL>
325 <DD>Returns a list of all the <CODE>SOAPHeaderElement</CODE>
326 objects in this <CODE>SOAPHeader</CODE> object that have the
327 the specified actor. An actor is a global attribute that
328 indicates the intermediate parties to whom the message should
329 be sent. An actor receives the message and then sends it to
330 the next actor. The default actor is the ultimate intended
331 recipient for the message, so if no actor attribute is
332 included in a <CODE>SOAPHeader</CODE> object, the message is
333 sent to its ultimate destination.
334 <P>
335 <DD><DL>
336 </DL>
337 </DD>
338 <DD><DL>
339 <DT><B>Parameters:</B><DD><CODE>actor</CODE> - a <CODE>String</CODE> giving the
340 URI of the actor for which to search
341 <DT><B>Returns:</B><DD>an <CODE>Iterator</CODE> object over all the <CODE>
342 SOAPHeaderElement</CODE> objects that contain the
343 specified actor<DT><B>See Also:</B><DD><A HREF="../../../javax/xml/soap/SOAPHeader.html#extractHeaderElements(java.lang.String)"><CODE>extractHeaderElements(java.lang.String)</CODE></A></DL>
344 </DD>
345 </DL>
346 <HR>
347
348 <A NAME="extractHeaderElements(java.lang.String)"><!-- --></A><H3>
349 extractHeaderElements</H3>
350 <PRE>
351 public java.util.Iterator <B>extractHeaderElements</B>(java.lang.String&nbsp;actor)</PRE>
352 <DL>
353 <DD>Returns a list of all the <CODE>SOAPHeaderElement</CODE>
354 objects in this <CODE>SOAPHeader</CODE> object that have
355 the the specified actor and detaches them from this <CODE>
356 SOAPHeader</CODE> object.
357
358 <P>This method allows an actor to process only the parts of
359 the <CODE>SOAPHeader</CODE> object that apply to it and to
360 remove them before passing the message on to the next
361 actor.
362 <P>
363 <DD><DL>
364 </DL>
365 </DD>
366 <DD><DL>
367 <DT><B>Parameters:</B><DD><CODE>actor</CODE> - a <CODE>String</CODE> giving the
368 URI of the actor for which to search
369 <DT><B>Returns:</B><DD>an <CODE>Iterator</CODE> object over all the <CODE>
370 SOAPHeaderElement</CODE> objects that contain the
371 specified actor<DT><B>See Also:</B><DD><A HREF="../../../javax/xml/soap/SOAPHeader.html#examineHeaderElements(java.lang.String)"><CODE>examineHeaderElements(java.lang.String)</CODE></A></DL>
372 </DD>
373 </DL>
374 <HR>
375
376 <A NAME="examineMustUnderstandHeaderElements(java.lang.String)"><!-- --></A><H3>
377 examineMustUnderstandHeaderElements</H3>
378 <PRE>
379 public java.util.Iterator <B>examineMustUnderstandHeaderElements</B>(java.lang.String&nbsp;actor)</PRE>
380 <DL>
381 <DD>Returns an <code>Iterator</code> over all the
382 <code>SOAPHeaderElement</code> objects in this <code>SOAPHeader</code>
383 object that have the specified actor and that have a MustUnderstand
384 attribute whose value is equivalent to <code>true</code>.
385 <P>
386 <DD><DL>
387 </DL>
388 </DD>
389 <DD><DL>
390 <DT><B>Parameters:</B><DD><CODE>actor</CODE> - a <code>String</code> giving the URI of the actor for which
391 to search
392 <DT><B>Returns:</B><DD>an <code>Iterator</code> object over all the
393 <code>SOAPHeaderElement</code> objects that contain the
394 specified actor and are marked as MustUnderstand</DL>
395 </DD>
396 </DL>
397 <HR>
398
399 <A NAME="examineAllHeaderElements()"><!-- --></A><H3>
400 examineAllHeaderElements</H3>
401 <PRE>
402 public java.util.Iterator <B>examineAllHeaderElements</B>()</PRE>
403 <DL>
404 <DD>Returns an <code>Iterator</code> over all the
405 <code>SOAPHeaderElement</code> objects in this <code>SOAPHeader</code>
406 object.
407 <P>
408 <DD><DL>
409 </DL>
410 </DD>
411 <DD><DL>
412
413 <DT><B>Returns:</B><DD>an <code>Iterator</code> object over all the
414 <code>SOAPHeaderElement</code> objects contained by this
415 <code>SOAPHeader</code></DL>
416 </DD>
417 </DL>
418 <HR>
419
420 <A NAME="extractAllHeaderElements()"><!-- --></A><H3>
421 extractAllHeaderElements</H3>
422 <PRE>
423 public java.util.Iterator <B>extractAllHeaderElements</B>()</PRE>
424 <DL>
425 <DD>Returns an <code>Iterator</code> over all the
426 <code>SOAPHeaderElement</code> objects in this <code>SOAPHeader </code>
427 object and detaches them from this <code>SOAPHeader</code> object.
428 <P>
429 <DD><DL>
430 </DL>
431 </DD>
432 <DD><DL>
433
434 <DT><B>Returns:</B><DD>an <code>Iterator</code> object over all the
435 <code>SOAPHeaderElement</code> objects contained by this
436 <code>SOAPHeader</code></DL>
437 </DD>
438 </DL>
439 <!-- ========= END OF CLASS DATA ========= -->
440 <HR>
441
442
443 <!-- ======= START OF BOTTOM NAVBAR ====== -->
444 <A NAME="navbar_bottom"><!-- --></A>
445 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
446 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
447 <TR>
448 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
449 <A NAME="navbar_bottom_firstrow"><!-- --></A>
450 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
451 <TR ALIGN="center" VALIGN="top">
452 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
453 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
454 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
455 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SOAPHeader.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
456 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
457 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
458 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
459 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
460 </TR>
461 </TABLE>
462 </TD>
463 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
464 </EM>
465 </TD>
466 </TR>
467
468 <TR>
469 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
470 &nbsp;<A HREF="../../../javax/xml/soap/SOAPFaultElement.html" title="interface in javax.xml.soap"><B>PREV CLASS</B></A>&nbsp;
471 &nbsp;<A HREF="../../../javax/xml/soap/SOAPHeaderElement.html" title="interface in javax.xml.soap"><B>NEXT CLASS</B></A></FONT></TD>
472 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
473 <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
474 &nbsp;<A HREF="SOAPHeader.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
475 &nbsp;<SCRIPT type="text/javascript">
476 <!--
477 if(window==top) {
478 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
479 }
480 //-->
481 </SCRIPT>
482 <NOSCRIPT>
483 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
484 </NOSCRIPT>
485
486 </FONT></TD>
487 </TR>
488 <TR>
489 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
490 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
491 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
492 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
493 </TR>
494 </TABLE>
495 <A NAME="skip-navbar_bottom"></A>
496 <!-- ======== END OF BOTTOM NAVBAR ======= -->
497
498 <HR>
499 Copyright © 2005 Apache Web Services Project. All Rights Reserved.
500 </BODY>
501 </HTML>