Debian Codegraph @

docs/apiDocs/javax/xml/soap/SOAPElement.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 SOAPElement (Axis API)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="javax.xml.soap.SOAPElement 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="SOAPElement (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/SOAPElement.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/SOAPConstants.html" title="interface in javax.xml.soap"><B>PREV CLASS</B></A>&nbsp;
54 &nbsp;<A HREF="../../../javax/xml/soap/SOAPEnvelope.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="SOAPElement.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 SOAPElement</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</DD>
90 </DL>
91 <DL>
92 <DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../javax/xml/soap/Detail.html" title="interface in javax.xml.soap">Detail</A>, <A HREF="../../../javax/xml/soap/DetailEntry.html" title="interface in javax.xml.soap">DetailEntry</A>, <A HREF="../../../javax/xml/soap/SOAPBody.html" title="interface in javax.xml.soap">SOAPBody</A>, <A HREF="../../../javax/xml/soap/SOAPBodyElement.html" title="interface in javax.xml.soap">SOAPBodyElement</A>, <A HREF="../../../javax/xml/soap/SOAPEnvelope.html" title="interface in javax.xml.soap">SOAPEnvelope</A>, <A HREF="../../../javax/xml/soap/SOAPFault.html" title="interface in javax.xml.soap">SOAPFault</A>, <A HREF="../../../javax/xml/soap/SOAPFaultElement.html" title="interface in javax.xml.soap">SOAPFaultElement</A>, <A HREF="../../../javax/xml/soap/SOAPHeader.html" title="interface in javax.xml.soap">SOAPHeader</A>, <A HREF="../../../javax/xml/soap/SOAPHeaderElement.html" title="interface in javax.xml.soap">SOAPHeaderElement</A></DD>
93 </DL>
94 <DL>
95 <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../org/apache/axis/message/Detail.html" title="class in org.apache.axis.message">Detail</A>, <A HREF="../../../org/apache/axis/message/DetailEntry.html" title="class in org.apache.axis.message">DetailEntry</A>, <A HREF="../../../org/apache/axis/message/MessageElement.html" title="class in org.apache.axis.message">MessageElement</A>, <A HREF="../../../org/apache/axis/message/SOAPBody.html" title="class in org.apache.axis.message">SOAPBody</A>, <A HREF="../../../org/apache/axis/message/SOAPBodyElement.html" title="class in org.apache.axis.message">SOAPBodyElement</A>, <A HREF="../../../org/apache/axis/message/SOAPEnvelope.html" title="class in org.apache.axis.message">SOAPEnvelope</A>, <A HREF="../../../org/apache/axis/message/SOAPFault.html" title="class in org.apache.axis.message">SOAPFault</A>, <A HREF="../../../org/apache/axis/message/SOAPFaultElement.html" title="class in org.apache.axis.message">SOAPFaultElement</A>, <A HREF="../../../org/apache/axis/message/SOAPHeader.html" title="class in org.apache.axis.message">SOAPHeader</A>, <A HREF="../../../org/apache/axis/message/SOAPHeaderElement.html" title="class in org.apache.axis.message">SOAPHeaderElement</A></DD>
96 </DL>
97 <HR>
98 <DL>
99 <DT>public interface <B>SOAPElement</B><DT>extends <A HREF="../../../javax/xml/soap/Node.html" title="interface in javax.xml.soap">Node</A>, org.w3c.dom.Element</DL>
100
101 <P>
102 An object representing the contents in a
103 <code>SOAPBody</code> object, the contents in a <code>SOAPHeader</code>
104 object, the content that can follow the <code>SOAPBody</code> object in a
105 <code>SOAPEnvelope</code> object, or what can follow the detail element
106 in a <code>SOAPFault</code> object. It is
107 the base class for all of the classes that represent the SOAP objects as
108 defined in the SOAP specification.
109 <P>
110
111 <P>
112 <HR>
113
114 <P>
115 <!-- ======== NESTED CLASS SUMMARY ======== -->
116
117
118 <!-- =========== FIELD SUMMARY =========== -->
119
120 <A NAME="field_summary"><!-- --></A>
121 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
122 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
123 <TD COLSPAN=2><FONT SIZE="+2">
124 <B>Field Summary</B></FONT></TD>
125 </TR>
126 </TABLE>
127 &nbsp;<A NAME="fields_inherited_from_class_org.w3c.dom.Node"><!-- --></A>
128 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
129 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
130 <TD><B>Fields inherited from interface org.w3c.dom.Node</B></TD>
131 </TR>
132 <TR BGCOLOR="white" CLASS="TableRowColor">
133 <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>
134 </TR>
135 </TABLE>
136 &nbsp;
137 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
138
139
140 <!-- ========== METHOD SUMMARY =========== -->
141
142 <A NAME="method_summary"><!-- --></A>
143 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
144 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
145 <TD COLSPAN=2><FONT SIZE="+2">
146 <B>Method Summary</B></FONT></TD>
147 </TR>
148 <TR BGCOLOR="white" CLASS="TableRowColor">
149 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
150 <CODE>&nbsp;<A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A></CODE></FONT></TD>
151 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPElement.html#addAttribute(javax.xml.soap.Name, java.lang.String)">addAttribute</A></B>(<A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</A>&nbsp;name,
152 java.lang.String&nbsp;value)</CODE>
153
154 <BR>
155 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds an attribute with the specified name and value to this
156 <code>SOAPElement</code> object.</TD>
157 </TR>
158 <TR BGCOLOR="white" CLASS="TableRowColor">
159 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
160 <CODE>&nbsp;<A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A></CODE></FONT></TD>
161 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPElement.html#addChildElement(javax.xml.soap.Name)">addChildElement</A></B>(<A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</A>&nbsp;name)</CODE>
162
163 <BR>
164 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new <code>SOAPElement</code> object initialized with the
165 given <code>Name</code> object and adds the new element to this
166 <code>SOAPElement</code> object.</TD>
167 </TR>
168 <TR BGCOLOR="white" CLASS="TableRowColor">
169 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
170 <CODE>&nbsp;<A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A></CODE></FONT></TD>
171 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPElement.html#addChildElement(javax.xml.soap.SOAPElement)">addChildElement</A></B>(<A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A>&nbsp;element)</CODE>
172
173 <BR>
174 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a <code>SOAPElement</code> as a child of this
175 <code>SOAPElement</code> instance.</TD>
176 </TR>
177 <TR BGCOLOR="white" CLASS="TableRowColor">
178 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
179 <CODE>&nbsp;<A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A></CODE></FONT></TD>
180 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPElement.html#addChildElement(java.lang.String)">addChildElement</A></B>(java.lang.String&nbsp;localName)</CODE>
181
182 <BR>
183 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new <code>SOAPElement</code> object initialized with the
184 given <code>String</code> object and adds the new element to this
185 <code>SOAPElement</code> object.</TD>
186 </TR>
187 <TR BGCOLOR="white" CLASS="TableRowColor">
188 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
189 <CODE>&nbsp;<A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A></CODE></FONT></TD>
190 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPElement.html#addChildElement(java.lang.String, java.lang.String)">addChildElement</A></B>(java.lang.String&nbsp;localName,
191 java.lang.String&nbsp;prefix)</CODE>
192
193 <BR>
194 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new <code>SOAPElement</code> object initialized with the
195 specified local name and prefix and adds the new element to this
196 <code>SOAPElement</code> object.</TD>
197 </TR>
198 <TR BGCOLOR="white" CLASS="TableRowColor">
199 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
200 <CODE>&nbsp;<A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A></CODE></FONT></TD>
201 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPElement.html#addChildElement(java.lang.String, java.lang.String, java.lang.String)">addChildElement</A></B>(java.lang.String&nbsp;localName,
202 java.lang.String&nbsp;prefix,
203 java.lang.String&nbsp;uri)</CODE>
204
205 <BR>
206 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new <code>SOAPElement</code> object initialized with the
207 specified local name, prefix, and URI and adds the new element to this
208 <code>SOAPElement</code> object.</TD>
209 </TR>
210 <TR BGCOLOR="white" CLASS="TableRowColor">
211 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
212 <CODE>&nbsp;<A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A></CODE></FONT></TD>
213 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPElement.html#addNamespaceDeclaration(java.lang.String, java.lang.String)">addNamespaceDeclaration</A></B>(java.lang.String&nbsp;prefix,
214 java.lang.String&nbsp;uri)</CODE>
215
216 <BR>
217 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a namespace declaration with the specified prefix and URI to this
218 <code>SOAPElement</code> object.</TD>
219 </TR>
220 <TR BGCOLOR="white" CLASS="TableRowColor">
221 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
222 <CODE>&nbsp;<A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A></CODE></FONT></TD>
223 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPElement.html#addTextNode(java.lang.String)">addTextNode</A></B>(java.lang.String&nbsp;text)</CODE>
224
225 <BR>
226 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new <code>Text</code> object initialized with the given
227 <code>String</code> and adds it to this <code>SOAPElement</code> object.</TD>
228 </TR>
229 <TR BGCOLOR="white" CLASS="TableRowColor">
230 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
231 <CODE>&nbsp;java.util.Iterator</CODE></FONT></TD>
232 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPElement.html#getAllAttributes()">getAllAttributes</A></B>()</CODE>
233
234 <BR>
235 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an iterator over all of the attribute names in
236 this <CODE>SOAPElement</CODE> object.</TD>
237 </TR>
238 <TR BGCOLOR="white" CLASS="TableRowColor">
239 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
240 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
241 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPElement.html#getAttributeValue(javax.xml.soap.Name)">getAttributeValue</A></B>(<A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</A>&nbsp;name)</CODE>
242
243 <BR>
244 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value of the attribute with the specified
245 name.</TD>
246 </TR>
247 <TR BGCOLOR="white" CLASS="TableRowColor">
248 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
249 <CODE>&nbsp;java.util.Iterator</CODE></FONT></TD>
250 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPElement.html#getChildElements()">getChildElements</A></B>()</CODE>
251
252 <BR>
253 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an iterator over all the immediate content of
254 this element.</TD>
255 </TR>
256 <TR BGCOLOR="white" CLASS="TableRowColor">
257 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
258 <CODE>&nbsp;java.util.Iterator</CODE></FONT></TD>
259 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPElement.html#getChildElements(javax.xml.soap.Name)">getChildElements</A></B>(<A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</A>&nbsp;name)</CODE>
260
261 <BR>
262 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an iterator over all the child elements with the
263 specified name.</TD>
264 </TR>
265 <TR BGCOLOR="white" CLASS="TableRowColor">
266 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
267 <CODE>&nbsp;<A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</A></CODE></FONT></TD>
268 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPElement.html#getElementName()">getElementName</A></B>()</CODE>
269
270 <BR>
271 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the name of this <CODE>SOAPElement</CODE>
272 object.</TD>
273 </TR>
274 <TR BGCOLOR="white" CLASS="TableRowColor">
275 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
276 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
277 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPElement.html#getEncodingStyle()">getEncodingStyle</A></B>()</CODE>
278
279 <BR>
280 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the encoding style for this <CODE>
281 SOAPElement</CODE> object.</TD>
282 </TR>
283 <TR BGCOLOR="white" CLASS="TableRowColor">
284 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
285 <CODE>&nbsp;java.util.Iterator</CODE></FONT></TD>
286 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPElement.html#getNamespacePrefixes()">getNamespacePrefixes</A></B>()</CODE>
287
288 <BR>
289 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an iterator of namespace prefixes.</TD>
290 </TR>
291 <TR BGCOLOR="white" CLASS="TableRowColor">
292 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
293 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
294 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPElement.html#getNamespaceURI(java.lang.String)">getNamespaceURI</A></B>(java.lang.String&nbsp;prefix)</CODE>
295
296 <BR>
297 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the URI of the namespace that has the given
298 prefix.</TD>
299 </TR>
300 <TR BGCOLOR="white" CLASS="TableRowColor">
301 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
302 <CODE>&nbsp;java.util.Iterator</CODE></FONT></TD>
303 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPElement.html#getVisibleNamespacePrefixes()">getVisibleNamespacePrefixes</A></B>()</CODE>
304
305 <BR>
306 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an <code>Iterator</code> over the namespace prefix
307 <code>String</code>s visible to this element.</TD>
308 </TR>
309 <TR BGCOLOR="white" CLASS="TableRowColor">
310 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
311 <CODE>&nbsp;boolean</CODE></FONT></TD>
312 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPElement.html#removeAttribute(javax.xml.soap.Name)">removeAttribute</A></B>(<A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</A>&nbsp;name)</CODE>
313
314 <BR>
315 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the attribute with the specified name.</TD>
316 </TR>
317 <TR BGCOLOR="white" CLASS="TableRowColor">
318 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
319 <CODE>&nbsp;void</CODE></FONT></TD>
320 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPElement.html#removeContents()">removeContents</A></B>()</CODE>
321
322 <BR>
323 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Detaches all children of this <code>SOAPElement</code>.</TD>
324 </TR>
325 <TR BGCOLOR="white" CLASS="TableRowColor">
326 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
327 <CODE>&nbsp;boolean</CODE></FONT></TD>
328 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPElement.html#removeNamespaceDeclaration(java.lang.String)">removeNamespaceDeclaration</A></B>(java.lang.String&nbsp;prefix)</CODE>
329
330 <BR>
331 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the namespace declaration corresponding to the
332 given prefix.</TD>
333 </TR>
334 <TR BGCOLOR="white" CLASS="TableRowColor">
335 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
336 <CODE>&nbsp;void</CODE></FONT></TD>
337 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPElement.html#setEncodingStyle(java.lang.String)">setEncodingStyle</A></B>(java.lang.String&nbsp;encodingStyle)</CODE>
338
339 <BR>
340 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the encoding style for this <CODE>SOAPElement</CODE>
341 object to one specified.</TD>
342 </TR>
343 </TABLE>
344 &nbsp;<A NAME="methods_inherited_from_class_javax.xml.soap.Node"><!-- --></A>
345 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
346 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
347 <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>
348 </TR>
349 <TR BGCOLOR="white" CLASS="TableRowColor">
350 <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>
351 </TR>
352 </TABLE>
353 &nbsp;<A NAME="methods_inherited_from_class_org.w3c.dom.Node"><!-- --></A>
354 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
355 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
356 <TD><B>Methods inherited from interface org.w3c.dom.Node</B></TD>
357 </TR>
358 <TR BGCOLOR="white" CLASS="TableRowColor">
359 <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>
360 </TR>
361 </TABLE>
362 &nbsp;<A NAME="methods_inherited_from_class_org.w3c.dom.Element"><!-- --></A>
363 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
364 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
365 <TD><B>Methods inherited from interface org.w3c.dom.Element</B></TD>
366 </TR>
367 <TR BGCOLOR="white" CLASS="TableRowColor">
368 <TD><CODE>getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS</CODE></TD>
369 </TR>
370 </TABLE>
371 &nbsp;
372 <P>
373
374 <!-- ============ FIELD DETAIL =========== -->
375
376
377 <!-- ========= CONSTRUCTOR DETAIL ======== -->
378
379
380 <!-- ============ METHOD DETAIL ========== -->
381
382 <A NAME="method_detail"><!-- --></A>
383 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
384 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
385 <TD COLSPAN=1><FONT SIZE="+2">
386 <B>Method Detail</B></FONT></TD>
387 </TR>
388 </TABLE>
389
390 <A NAME="addChildElement(javax.xml.soap.Name)"><!-- --></A><H3>
391 addChildElement</H3>
392 <PRE>
393 public <A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A> <B>addChildElement</B>(<A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</A>&nbsp;name)
394 throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE>
395 <DL>
396 <DD>Creates a new <code>SOAPElement</code> object initialized with the
397 given <code>Name</code> object and adds the new element to this
398 <code>SOAPElement</code> object.
399 <P>
400 <DD><DL>
401 </DL>
402 </DD>
403 <DD><DL>
404 <DT><B>Parameters:</B><DD><CODE>name</CODE> - a <code>Name</code> object with the XML name for the
405 new element
406 <DT><B>Returns:</B><DD>the new <code>SOAPElement</code> object that was created
407 <DT><B>Throws:</B>
408 <DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if there is an error in creating the
409 <code>SOAPElement</code> object</DL>
410 </DD>
411 </DL>
412 <HR>
413
414 <A NAME="addChildElement(java.lang.String)"><!-- --></A><H3>
415 addChildElement</H3>
416 <PRE>
417 public <A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A> <B>addChildElement</B>(java.lang.String&nbsp;localName)
418 throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE>
419 <DL>
420 <DD>Creates a new <code>SOAPElement</code> object initialized with the
421 given <code>String</code> object and adds the new element to this
422 <code>SOAPElement</code> object.
423 <P>
424 <DD><DL>
425 </DL>
426 </DD>
427 <DD><DL>
428 <DT><B>Parameters:</B><DD><CODE>localName</CODE> - a <code>String</code> giving the local name for
429 the element
430 <DT><B>Returns:</B><DD>the new <code>SOAPElement</code> object that was created
431 <DT><B>Throws:</B>
432 <DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if there is an error in creating the
433 <code>SOAPElement</code> object</DL>
434 </DD>
435 </DL>
436 <HR>
437
438 <A NAME="addChildElement(java.lang.String, java.lang.String)"><!-- --></A><H3>
439 addChildElement</H3>
440 <PRE>
441 public <A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A> <B>addChildElement</B>(java.lang.String&nbsp;localName,
442 java.lang.String&nbsp;prefix)
443 throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE>
444 <DL>
445 <DD>Creates a new <code>SOAPElement</code> object initialized with the
446 specified local name and prefix and adds the new element to this
447 <code>SOAPElement</code> object.
448 <P>
449 <DD><DL>
450 </DL>
451 </DD>
452 <DD><DL>
453 <DT><B>Parameters:</B><DD><CODE>localName</CODE> - a <code>String</code> giving the local name for
454 the new element<DD><CODE>prefix</CODE> - a <code>String</code> giving the namespace prefix for
455 the new element
456 <DT><B>Returns:</B><DD>the new <code>SOAPElement</code> object that was created
457 <DT><B>Throws:</B>
458 <DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if there is an error in creating the
459 <code>SOAPElement</code> object</DL>
460 </DD>
461 </DL>
462 <HR>
463
464 <A NAME="addChildElement(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
465 addChildElement</H3>
466 <PRE>
467 public <A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A> <B>addChildElement</B>(java.lang.String&nbsp;localName,
468 java.lang.String&nbsp;prefix,
469 java.lang.String&nbsp;uri)
470 throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE>
471 <DL>
472 <DD>Creates a new <code>SOAPElement</code> object initialized with the
473 specified local name, prefix, and URI and adds the new element to this
474 <code>SOAPElement</code> object.
475 <P>
476 <DD><DL>
477 </DL>
478 </DD>
479 <DD><DL>
480 <DT><B>Parameters:</B><DD><CODE>localName</CODE> - a <code>String</code> giving the local name for
481 the new element<DD><CODE>prefix</CODE> - a <code>String</code> giving the namespace prefix for
482 the new element<DD><CODE>uri</CODE> - a <code>String</code> giving the URI of the namespace
483 to which the new element belongs
484 <DT><B>Returns:</B><DD>the new <code>SOAPElement</code> object that was created
485 <DT><B>Throws:</B>
486 <DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if there is an error in creating the
487 <code>SOAPElement</code> object</DL>
488 </DD>
489 </DL>
490 <HR>
491
492 <A NAME="addChildElement(javax.xml.soap.SOAPElement)"><!-- --></A><H3>
493 addChildElement</H3>
494 <PRE>
495 public <A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A> <B>addChildElement</B>(<A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A>&nbsp;element)
496 throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE>
497 <DL>
498 <DD>Add a <code>SOAPElement</code> as a child of this
499 <code>SOAPElement</code> instance. The <code>SOAPElement</code>
500 is expected to be created by a
501 <code>SOAPElementFactory</code>. Callers should not rely on the
502 element instance being added as is into the XML
503 tree. Implementations could end up copying the content
504 of the <code>SOAPElement</code> passed into an instance of
505 a different <code>SOAPElement</code> implementation. For
506 instance if <code>addChildElement()</code> is called on a
507 <code>SOAPHeader</code>, <code>element</code> will be copied
508 into an instance of a <code>SOAPHeaderElement</code>.
509
510 <P>The fragment rooted in <code>element</code> is either added
511 as a whole or not at all, if there was an error.
512
513 <P>The fragment rooted in <code>element</code> cannot contain
514 elements named "Envelope", "Header" or "Body" and in the SOAP
515 namespace. Any namespace prefixes present in the fragment
516 should be fully resolved using appropriate namespace
517 declarations within the fragment itself.
518 <P>
519 <DD><DL>
520 </DL>
521 </DD>
522 <DD><DL>
523 <DT><B>Parameters:</B><DD><CODE>element</CODE> - the <code>SOAPElement</code> to be added as a
524 new child
525 <DT><B>Returns:</B><DD>an instance representing the new SOAP element that was
526 actually added to the tree.
527 <DT><B>Throws:</B>
528 <DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if there was an error in adding this
529 element as a child</DL>
530 </DD>
531 </DL>
532 <HR>
533
534 <A NAME="addTextNode(java.lang.String)"><!-- --></A><H3>
535 addTextNode</H3>
536 <PRE>
537 public <A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A> <B>addTextNode</B>(java.lang.String&nbsp;text)
538 throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE>
539 <DL>
540 <DD>Creates a new <code>Text</code> object initialized with the given
541 <code>String</code> and adds it to this <code>SOAPElement</code> object.
542 <P>
543 <DD><DL>
544 </DL>
545 </DD>
546 <DD><DL>
547 <DT><B>Parameters:</B><DD><CODE>text</CODE> - a <code>String</code> object with the textual content to be added
548 <DT><B>Returns:</B><DD>the <code>SOAPElement</code> object into which
549 the new <code>Text</code> object was inserted
550 <DT><B>Throws:</B>
551 <DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if there is an error in creating the
552 new <code>Text</code> object</DL>
553 </DD>
554 </DL>
555 <HR>
556
557 <A NAME="addAttribute(javax.xml.soap.Name, java.lang.String)"><!-- --></A><H3>
558 addAttribute</H3>
559 <PRE>
560 public <A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A> <B>addAttribute</B>(<A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</A>&nbsp;name,
561 java.lang.String&nbsp;value)
562 throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE>
563 <DL>
564 <DD>Adds an attribute with the specified name and value to this
565 <code>SOAPElement</code> object.
566 <p>
567 <P>
568 <DD><DL>
569 </DL>
570 </DD>
571 <DD><DL>
572 <DT><B>Parameters:</B><DD><CODE>name</CODE> - a <code>Name</code> object with the name of the attribute<DD><CODE>value</CODE> - a <code>String</code> giving the value of the attribute
573 <DT><B>Returns:</B><DD>the <code>SOAPElement</code> object into which the attribute was
574 inserted
575 <DT><B>Throws:</B>
576 <DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if there is an error in creating the
577 Attribute</DL>
578 </DD>
579 </DL>
580 <HR>
581
582 <A NAME="addNamespaceDeclaration(java.lang.String, java.lang.String)"><!-- --></A><H3>
583 addNamespaceDeclaration</H3>
584 <PRE>
585 public <A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A> <B>addNamespaceDeclaration</B>(java.lang.String&nbsp;prefix,
586 java.lang.String&nbsp;uri)
587 throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE>
588 <DL>
589 <DD>Adds a namespace declaration with the specified prefix and URI to this
590 <code>SOAPElement</code> object.
591 <p>
592 <P>
593 <DD><DL>
594 </DL>
595 </DD>
596 <DD><DL>
597 <DT><B>Parameters:</B><DD><CODE>prefix</CODE> - a <code>String</code> giving the prefix of the namespace<DD><CODE>uri</CODE> - a <CODE>String</CODE> giving
598 the prefix of the namespace
599 <DT><B>Returns:</B><DD>the <code>SOAPElement</code> object into which this
600 namespace declaration was inserted.
601 <DT><B>Throws:</B>
602 <DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if there is an error in creating the
603 namespace</DL>
604 </DD>
605 </DL>
606 <HR>
607
608 <A NAME="getAttributeValue(javax.xml.soap.Name)"><!-- --></A><H3>
609 getAttributeValue</H3>
610 <PRE>
611 public java.lang.String <B>getAttributeValue</B>(<A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</A>&nbsp;name)</PRE>
612 <DL>
613 <DD>Returns the value of the attribute with the specified
614 name.
615 <P>
616 <DD><DL>
617 </DL>
618 </DD>
619 <DD><DL>
620 <DT><B>Parameters:</B><DD><CODE>name</CODE> - a <CODE>Name</CODE> object with
621 the name of the attribute
622 <DT><B>Returns:</B><DD>a <CODE>String</CODE> giving the value of the
623 specified attribute</DL>
624 </DD>
625 </DL>
626 <HR>
627
628 <A NAME="getAllAttributes()"><!-- --></A><H3>
629 getAllAttributes</H3>
630 <PRE>
631 public java.util.Iterator <B>getAllAttributes</B>()</PRE>
632 <DL>
633 <DD>Returns an iterator over all of the attribute names in
634 this <CODE>SOAPElement</CODE> object. The iterator can be
635 used to get the attribute names, which can then be passed to
636 the method <CODE>getAttributeValue</CODE> to retrieve the
637 value of each attribute.
638 <P>
639 <DD><DL>
640 </DL>
641 </DD>
642 <DD><DL>
643
644 <DT><B>Returns:</B><DD>an iterator over the names of the attributes</DL>
645 </DD>
646 </DL>
647 <HR>
648
649 <A NAME="getNamespaceURI(java.lang.String)"><!-- --></A><H3>
650 getNamespaceURI</H3>
651 <PRE>
652 public java.lang.String <B>getNamespaceURI</B>(java.lang.String&nbsp;prefix)</PRE>
653 <DL>
654 <DD>Returns the URI of the namespace that has the given
655 prefix.
656 <P>
657 <DD><DL>
658 </DL>
659 </DD>
660 <DD><DL>
661 <DT><B>Parameters:</B><DD><CODE>prefix</CODE> - a <CODE>String</CODE> giving
662 the prefix of the namespace for which to search
663 <DT><B>Returns:</B><DD>a <CODE>String</CODE> with the uri of the namespace
664 that has the given prefix</DL>
665 </DD>
666 </DL>
667 <HR>
668
669 <A NAME="getNamespacePrefixes()"><!-- --></A><H3>
670 getNamespacePrefixes</H3>
671 <PRE>
672 public java.util.Iterator <B>getNamespacePrefixes</B>()</PRE>
673 <DL>
674 <DD>Returns an iterator of namespace prefixes. The iterator
675 can be used to get the namespace prefixes, which can then be
676 passed to the method <CODE>getNamespaceURI</CODE> to retrieve
677 the URI of each namespace.
678 <P>
679 <DD><DL>
680 </DL>
681 </DD>
682 <DD><DL>
683
684 <DT><B>Returns:</B><DD>an iterator over the namespace prefixes in this
685 <CODE>SOAPElement</CODE> object</DL>
686 </DD>
687 </DL>
688 <HR>
689
690 <A NAME="getElementName()"><!-- --></A><H3>
691 getElementName</H3>
692 <PRE>
693 public <A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</A> <B>getElementName</B>()</PRE>
694 <DL>
695 <DD>Returns the name of this <CODE>SOAPElement</CODE>
696 object.
697 <P>
698 <DD><DL>
699 </DL>
700 </DD>
701 <DD><DL>
702
703 <DT><B>Returns:</B><DD>a <CODE>Name</CODE> object with the name of this
704 <CODE>SOAPElement</CODE> object</DL>
705 </DD>
706 </DL>
707 <HR>
708
709 <A NAME="removeAttribute(javax.xml.soap.Name)"><!-- --></A><H3>
710 removeAttribute</H3>
711 <PRE>
712 public boolean <B>removeAttribute</B>(<A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</A>&nbsp;name)</PRE>
713 <DL>
714 <DD>Removes the attribute with the specified name.
715 <P>
716 <DD><DL>
717 </DL>
718 </DD>
719 <DD><DL>
720 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the <CODE>Name</CODE> object with
721 the name of the attribute to be removed
722 <DT><B>Returns:</B><DD><CODE>true</CODE> if the attribute was removed
723 successfully; <CODE>false</CODE> if it was not</DL>
724 </DD>
725 </DL>
726 <HR>
727
728 <A NAME="removeNamespaceDeclaration(java.lang.String)"><!-- --></A><H3>
729 removeNamespaceDeclaration</H3>
730 <PRE>
731 public boolean <B>removeNamespaceDeclaration</B>(java.lang.String&nbsp;prefix)</PRE>
732 <DL>
733 <DD>Removes the namespace declaration corresponding to the
734 given prefix.
735 <P>
736 <DD><DL>
737 </DL>
738 </DD>
739 <DD><DL>
740 <DT><B>Parameters:</B><DD><CODE>prefix</CODE> - a <CODE>String</CODE> giving
741 the prefix for which to search
742 <DT><B>Returns:</B><DD><CODE>true</CODE> if the namespace declaration was
743 removed successfully; <CODE>false</CODE> if it was
744 not</DL>
745 </DD>
746 </DL>
747 <HR>
748
749 <A NAME="getChildElements()"><!-- --></A><H3>
750 getChildElements</H3>
751 <PRE>
752 public java.util.Iterator <B>getChildElements</B>()</PRE>
753 <DL>
754 <DD>Returns an iterator over all the immediate content of
755 this element. This includes <CODE>Text</CODE> objects as well
756 as <CODE>SOAPElement</CODE> objects.
757 <P>
758 <DD><DL>
759 </DL>
760 </DD>
761 <DD><DL>
762
763 <DT><B>Returns:</B><DD>an iterator with the content of this <CODE>
764 SOAPElement</CODE> object</DL>
765 </DD>
766 </DL>
767 <HR>
768
769 <A NAME="getChildElements(javax.xml.soap.Name)"><!-- --></A><H3>
770 getChildElements</H3>
771 <PRE>
772 public java.util.Iterator <B>getChildElements</B>(<A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</A>&nbsp;name)</PRE>
773 <DL>
774 <DD>Returns an iterator over all the child elements with the
775 specified name.
776 <P>
777 <DD><DL>
778 </DL>
779 </DD>
780 <DD><DL>
781 <DT><B>Parameters:</B><DD><CODE>name</CODE> - a <CODE>Name</CODE> object with
782 the name of the child elements to be returned
783 <DT><B>Returns:</B><DD>an <CODE>Iterator</CODE> object over all the elements
784 in this <CODE>SOAPElement</CODE> object with the
785 specified name</DL>
786 </DD>
787 </DL>
788 <HR>
789
790 <A NAME="setEncodingStyle(java.lang.String)"><!-- --></A><H3>
791 setEncodingStyle</H3>
792 <PRE>
793 public void <B>setEncodingStyle</B>(java.lang.String&nbsp;encodingStyle)
794 throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE>
795 <DL>
796 <DD>Sets the encoding style for this <CODE>SOAPElement</CODE>
797 object to one specified.
798 <P>
799 <DD><DL>
800 </DL>
801 </DD>
802 <DD><DL>
803 <DT><B>Parameters:</B><DD><CODE>encodingStyle</CODE> - a <CODE>String</CODE>
804 giving the encoding style
805 <DT><B>Throws:</B>
806 <DD><CODE>java.lang.IllegalArgumentException</CODE> - if
807 there was a problem in the encoding style being set.
808 <DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../javax/xml/soap/SOAPElement.html#getEncodingStyle()"><CODE>getEncodingStyle()</CODE></A></DL>
809 </DD>
810 </DL>
811 <HR>
812
813 <A NAME="getEncodingStyle()"><!-- --></A><H3>
814 getEncodingStyle</H3>
815 <PRE>
816 public java.lang.String <B>getEncodingStyle</B>()</PRE>
817 <DL>
818 <DD>Returns the encoding style for this <CODE>
819 SOAPElement</CODE> object.
820 <P>
821 <DD><DL>
822 </DL>
823 </DD>
824 <DD><DL>
825
826 <DT><B>Returns:</B><DD>a <CODE>String</CODE> giving the encoding style<DT><B>See Also:</B><DD><A HREF="../../../javax/xml/soap/SOAPElement.html#setEncodingStyle(java.lang.String)"><CODE>setEncodingStyle(java.lang.String)</CODE></A></DL>
827 </DD>
828 </DL>
829 <HR>
830
831 <A NAME="removeContents()"><!-- --></A><H3>
832 removeContents</H3>
833 <PRE>
834 public void <B>removeContents</B>()</PRE>
835 <DL>
836 <DD>Detaches all children of this <code>SOAPElement</code>.
837 <p>
838 This method is useful for rolling back the construction of partially
839 completed <code>SOAPHeaders</code> and <code>SOAPBodys</code> in
840 reparation for sending a fault when an error condition is detected. It is
841 also useful for recycling portions of a document within a SOAP message.
842 <P>
843 <DD><DL>
844 </DL>
845 </DD>
846 <DD><DL>
847 </DL>
848 </DD>
849 </DL>
850 <HR>
851
852 <A NAME="getVisibleNamespacePrefixes()"><!-- --></A><H3>
853 getVisibleNamespacePrefixes</H3>
854 <PRE>
855 public java.util.Iterator <B>getVisibleNamespacePrefixes</B>()</PRE>
856 <DL>
857 <DD>Returns an <code>Iterator</code> over the namespace prefix
858 <code>String</code>s visible to this element. The prefixes returned by
859 this iterator can be passed to the method <code>getNamespaceURI()</code>
860 to retrieve the URI of each namespace.
861 <P>
862 <DD><DL>
863 </DL>
864 </DD>
865 <DD><DL>
866
867 <DT><B>Returns:</B><DD>an iterator over the namespace prefixes are within scope of this
868 <code>SOAPElement</code> object</DL>
869 </DD>
870 </DL>
871 <!-- ========= END OF CLASS DATA ========= -->
872 <HR>
873
874
875 <!-- ======= START OF BOTTOM NAVBAR ====== -->
876 <A NAME="navbar_bottom"><!-- --></A>
877 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
878 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
879 <TR>
880 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
881 <A NAME="navbar_bottom_firstrow"><!-- --></A>
882 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
883 <TR ALIGN="center" VALIGN="top">
884 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
885 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
886 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
887 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SOAPElement.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
888 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
889 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
890 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
891 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
892 </TR>
893 </TABLE>
894 </TD>
895 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
896 </EM>
897 </TD>
898 </TR>
899
900 <TR>
901 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
902 &nbsp;<A HREF="../../../javax/xml/soap/SOAPConstants.html" title="interface in javax.xml.soap"><B>PREV CLASS</B></A>&nbsp;
903 &nbsp;<A HREF="../../../javax/xml/soap/SOAPEnvelope.html" title="interface in javax.xml.soap"><B>NEXT CLASS</B></A></FONT></TD>
904 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
905 <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
906 &nbsp;<A HREF="SOAPElement.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
907 &nbsp;<SCRIPT type="text/javascript">
908 <!--
909 if(window==top) {
910 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
911 }
912 //-->
913 </SCRIPT>
914 <NOSCRIPT>
915 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
916 </NOSCRIPT>
917
918 </FONT></TD>
919 </TR>
920 <TR>
921 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
922 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
923 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
924 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
925 </TR>
926 </TABLE>
927 <A NAME="skip-navbar_bottom"></A>
928 <!-- ======== END OF BOTTOM NAVBAR ======= -->
929
930 <HR>
931 Copyright © 2005 Apache Web Services Project. All Rights Reserved.
932 </BODY>
933 </HTML>