Debian Codegraph @

docs/apiDocs/javax/xml/soap/SOAPFault.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 SOAPFault (Axis API)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="javax.xml.soap.SOAPFault 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="SOAPFault (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/SOAPFault.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/SOAPEnvelope.html" title="interface in javax.xml.soap"><B>PREV CLASS</B></A>&nbsp;
54 &nbsp;<A HREF="../../../javax/xml/soap/SOAPFaultElement.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="SOAPFault.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 SOAPFault</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/SOAPBodyElement.html" title="interface in javax.xml.soap">SOAPBodyElement</A>, <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/SOAPFault.html" title="class in org.apache.axis.message">SOAPFault</A></DD>
93 </DL>
94 <HR>
95 <DL>
96 <DT>public interface <B>SOAPFault</B><DT>extends <A HREF="../../../javax/xml/soap/SOAPBodyElement.html" title="interface in javax.xml.soap">SOAPBodyElement</A></DL>
97
98 <P>
99 An element in the <CODE>SOAPBody</CODE> object that contains
100 error and/or status information. This information may relate to
101 errors in the <CODE>SOAPMessage</CODE> object or to problems
102 that are not related to the content in the message itself.
103 Problems not related to the message itself are generally errors
104 in processing, such as the inability to communicate with an
105 upstream server.
106 <P>
107 The <CODE>SOAPFault</CODE> interface provides methods for
108 retrieving the information contained in a <CODE>
109 SOAPFault</CODE> object and for setting the fault code, the
110 fault actor, and a string describing the fault. A fault code is
111 one of the codes defined in the SOAP 1.1 specification that
112 describe the fault. An actor is an intermediate recipient to
113 whom a message was routed. The message path may include one or
114 more actors, or, if no actors are specified, the message goes
115 only to the default actor, which is the final intended
116 recipient.
117 <P>
118
119 <P>
120 <HR>
121
122 <P>
123 <!-- ======== NESTED CLASS SUMMARY ======== -->
124
125
126 <!-- =========== FIELD SUMMARY =========== -->
127
128 <A NAME="field_summary"><!-- --></A>
129 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
130 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
131 <TD COLSPAN=2><FONT SIZE="+2">
132 <B>Field Summary</B></FONT></TD>
133 </TR>
134 </TABLE>
135 &nbsp;<A NAME="fields_inherited_from_class_org.w3c.dom.Node"><!-- --></A>
136 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
137 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
138 <TD><B>Fields inherited from interface org.w3c.dom.Node</B></TD>
139 </TR>
140 <TR BGCOLOR="white" CLASS="TableRowColor">
141 <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>
142 </TR>
143 </TABLE>
144 &nbsp;
145 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
146
147
148 <!-- ========== METHOD SUMMARY =========== -->
149
150 <A NAME="method_summary"><!-- --></A>
151 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
152 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
153 <TD COLSPAN=2><FONT SIZE="+2">
154 <B>Method Summary</B></FONT></TD>
155 </TR>
156 <TR BGCOLOR="white" CLASS="TableRowColor">
157 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
158 <CODE>&nbsp;<A HREF="../../../javax/xml/soap/Detail.html" title="interface in javax.xml.soap">Detail</A></CODE></FONT></TD>
159 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPFault.html#addDetail()">addDetail</A></B>()</CODE>
160
161 <BR>
162 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a <CODE>Detail</CODE> object and sets it as the
163 <CODE>Detail</CODE> object for this <CODE>SOAPFault</CODE>
164 object.</TD>
165 </TR>
166 <TR BGCOLOR="white" CLASS="TableRowColor">
167 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
168 <CODE>&nbsp;<A HREF="../../../javax/xml/soap/Detail.html" title="interface in javax.xml.soap">Detail</A></CODE></FONT></TD>
169 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPFault.html#getDetail()">getDetail</A></B>()</CODE>
170
171 <BR>
172 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the detail element for this <CODE>SOAPFault</CODE>
173 object.</TD>
174 </TR>
175 <TR BGCOLOR="white" CLASS="TableRowColor">
176 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
177 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
178 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPFault.html#getFaultActor()">getFaultActor</A></B>()</CODE>
179
180 <BR>
181 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the fault actor for this <CODE>SOAPFault</CODE>
182 object.</TD>
183 </TR>
184 <TR BGCOLOR="white" CLASS="TableRowColor">
185 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
186 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
187 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPFault.html#getFaultCode()">getFaultCode</A></B>()</CODE>
188
189 <BR>
190 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the fault code for this <CODE>SOAPFault</CODE>
191 object.</TD>
192 </TR>
193 <TR BGCOLOR="white" CLASS="TableRowColor">
194 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
195 <CODE>&nbsp;<A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</A></CODE></FONT></TD>
196 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPFault.html#getFaultCodeAsName()">getFaultCodeAsName</A></B>()</CODE>
197
198 <BR>
199 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the mandatory SOAP 1.1 fault code for this <code>SOAPFault</code>
200 object as a SAAJ <code>Name</code> object.</TD>
201 </TR>
202 <TR BGCOLOR="white" CLASS="TableRowColor">
203 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
204 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
205 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPFault.html#getFaultString()">getFaultString</A></B>()</CODE>
206
207 <BR>
208 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the fault string for this <CODE>SOAPFault</CODE>
209 object.</TD>
210 </TR>
211 <TR BGCOLOR="white" CLASS="TableRowColor">
212 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
213 <CODE>&nbsp;java.util.Locale</CODE></FONT></TD>
214 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPFault.html#getFaultStringLocale()">getFaultStringLocale</A></B>()</CODE>
215
216 <BR>
217 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the optional detail element for this <code>SOAPFault</code>
218 object.</TD>
219 </TR>
220 <TR BGCOLOR="white" CLASS="TableRowColor">
221 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
222 <CODE>&nbsp;void</CODE></FONT></TD>
223 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPFault.html#setFaultActor(java.lang.String)">setFaultActor</A></B>(java.lang.String&nbsp;faultActor)</CODE>
224
225 <BR>
226 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this <CODE>SOAPFault</CODE> object with the given
227 fault actor.</TD>
228 </TR>
229 <TR BGCOLOR="white" CLASS="TableRowColor">
230 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
231 <CODE>&nbsp;void</CODE></FONT></TD>
232 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPFault.html#setFaultCode(javax.xml.soap.Name)">setFaultCode</A></B>(<A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</A>&nbsp;name)</CODE>
233
234 <BR>
235 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this <code>SOAPFault</code> object with the given fault code.</TD>
236 </TR>
237 <TR BGCOLOR="white" CLASS="TableRowColor">
238 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
239 <CODE>&nbsp;void</CODE></FONT></TD>
240 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPFault.html#setFaultCode(java.lang.String)">setFaultCode</A></B>(java.lang.String&nbsp;faultCode)</CODE>
241
242 <BR>
243 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this <CODE>SOAPFault</CODE> object with the given
244 fault code.</TD>
245 </TR>
246 <TR BGCOLOR="white" CLASS="TableRowColor">
247 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
248 <CODE>&nbsp;void</CODE></FONT></TD>
249 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPFault.html#setFaultString(java.lang.String)">setFaultString</A></B>(java.lang.String&nbsp;faultString)</CODE>
250
251 <BR>
252 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the fault string for this <CODE>SOAPFault</CODE>
253 object to the given string.</TD>
254 </TR>
255 <TR BGCOLOR="white" CLASS="TableRowColor">
256 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
257 <CODE>&nbsp;void</CODE></FONT></TD>
258 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPFault.html#setFaultString(java.lang.String, java.util.Locale)">setFaultString</A></B>(java.lang.String&nbsp;faultString,
259 java.util.Locale&nbsp;locale)</CODE>
260
261 <BR>
262 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the fault string for this <code>SOAPFault</code> object to the given
263 string and localized to the given locale.</TD>
264 </TR>
265 </TABLE>
266 &nbsp;<A NAME="methods_inherited_from_class_javax.xml.soap.SOAPElement"><!-- --></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 javax.xml.soap.<A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A></B></TD>
270 </TR>
271 <TR BGCOLOR="white" CLASS="TableRowColor">
272 <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>
273 </TR>
274 </TABLE>
275 &nbsp;<A NAME="methods_inherited_from_class_javax.xml.soap.Node"><!-- --></A>
276 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
277 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
278 <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>
279 </TR>
280 <TR BGCOLOR="white" CLASS="TableRowColor">
281 <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>
282 </TR>
283 </TABLE>
284 &nbsp;<A NAME="methods_inherited_from_class_org.w3c.dom.Node"><!-- --></A>
285 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
286 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
287 <TD><B>Methods inherited from interface org.w3c.dom.Node</B></TD>
288 </TR>
289 <TR BGCOLOR="white" CLASS="TableRowColor">
290 <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>
291 </TR>
292 </TABLE>
293 &nbsp;<A NAME="methods_inherited_from_class_org.w3c.dom.Element"><!-- --></A>
294 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
295 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
296 <TD><B>Methods inherited from interface org.w3c.dom.Element</B></TD>
297 </TR>
298 <TR BGCOLOR="white" CLASS="TableRowColor">
299 <TD><CODE>getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS</CODE></TD>
300 </TR>
301 </TABLE>
302 &nbsp;
303 <P>
304
305 <!-- ============ FIELD DETAIL =========== -->
306
307
308 <!-- ========= CONSTRUCTOR DETAIL ======== -->
309
310
311 <!-- ============ METHOD DETAIL ========== -->
312
313 <A NAME="method_detail"><!-- --></A>
314 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
315 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
316 <TD COLSPAN=1><FONT SIZE="+2">
317 <B>Method Detail</B></FONT></TD>
318 </TR>
319 </TABLE>
320
321 <A NAME="setFaultCode(java.lang.String)"><!-- --></A><H3>
322 setFaultCode</H3>
323 <PRE>
324 public void <B>setFaultCode</B>(java.lang.String&nbsp;faultCode)
325 throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE>
326 <DL>
327 <DD>Sets this <CODE>SOAPFault</CODE> object with the given
328 fault code.
329
330 <P>Fault codes, which given information about the fault,
331 are defined in the SOAP 1.1 specification.</P>
332 <P>
333 <DD><DL>
334 </DL>
335 </DD>
336 <DD><DL>
337 <DT><B>Parameters:</B><DD><CODE>faultCode</CODE> - a <CODE>String</CODE> giving
338 the fault code to be set; must be one of the fault codes
339 defined in the SOAP 1.1 specification
340 <DT><B>Throws:</B>
341 <DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if there was an error in
342 adding the <CODE>faultCode</CODE> to the underlying XML
343 tree.<DT><B>See Also:</B><DD><A HREF="../../../javax/xml/soap/SOAPFault.html#getFaultCode()"><CODE>getFaultCode()</CODE></A></DL>
344 </DD>
345 </DL>
346 <HR>
347
348 <A NAME="getFaultCode()"><!-- --></A><H3>
349 getFaultCode</H3>
350 <PRE>
351 public java.lang.String <B>getFaultCode</B>()</PRE>
352 <DL>
353 <DD>Gets the fault code for this <CODE>SOAPFault</CODE>
354 object.
355 <P>
356 <DD><DL>
357 </DL>
358 </DD>
359 <DD><DL>
360
361 <DT><B>Returns:</B><DD>a <CODE>String</CODE> with the fault code<DT><B>See Also:</B><DD><A HREF="../../../javax/xml/soap/SOAPFault.html#setFaultCode(java.lang.String)"><CODE>setFaultCode(java.lang.String)</CODE></A></DL>
362 </DD>
363 </DL>
364 <HR>
365
366 <A NAME="setFaultActor(java.lang.String)"><!-- --></A><H3>
367 setFaultActor</H3>
368 <PRE>
369 public void <B>setFaultActor</B>(java.lang.String&nbsp;faultActor)
370 throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE>
371 <DL>
372 <DD>Sets this <CODE>SOAPFault</CODE> object with the given
373 fault actor.
374
375 <P>The fault actor is the recipient in the message path who
376 caused the fault to happen.</P>
377 <P>
378 <DD><DL>
379 </DL>
380 </DD>
381 <DD><DL>
382 <DT><B>Parameters:</B><DD><CODE>faultActor</CODE> - a <CODE>String</CODE>
383 identifying the actor that caused this <CODE>
384 SOAPFault</CODE> object
385 <DT><B>Throws:</B>
386 <DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if there was an error in
387 adding the <CODE>faultActor</CODE> to the underlying XML
388 tree.<DT><B>See Also:</B><DD><A HREF="../../../javax/xml/soap/SOAPFault.html#getFaultActor()"><CODE>getFaultActor()</CODE></A></DL>
389 </DD>
390 </DL>
391 <HR>
392
393 <A NAME="getFaultActor()"><!-- --></A><H3>
394 getFaultActor</H3>
395 <PRE>
396 public java.lang.String <B>getFaultActor</B>()</PRE>
397 <DL>
398 <DD>Gets the fault actor for this <CODE>SOAPFault</CODE>
399 object.
400 <P>
401 <DD><DL>
402 </DL>
403 </DD>
404 <DD><DL>
405
406 <DT><B>Returns:</B><DD>a <CODE>String</CODE> giving the actor in the message
407 path that caused this <CODE>SOAPFault</CODE> object<DT><B>See Also:</B><DD><A HREF="../../../javax/xml/soap/SOAPFault.html#setFaultActor(java.lang.String)"><CODE>setFaultActor(java.lang.String)</CODE></A></DL>
408 </DD>
409 </DL>
410 <HR>
411
412 <A NAME="setFaultString(java.lang.String)"><!-- --></A><H3>
413 setFaultString</H3>
414 <PRE>
415 public void <B>setFaultString</B>(java.lang.String&nbsp;faultString)
416 throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE>
417 <DL>
418 <DD>Sets the fault string for this <CODE>SOAPFault</CODE>
419 object to the given string.
420 <P>
421 <DD><DL>
422 </DL>
423 </DD>
424 <DD><DL>
425 <DT><B>Parameters:</B><DD><CODE>faultString</CODE> - a <CODE>String</CODE>
426 giving an explanation of the fault
427 <DT><B>Throws:</B>
428 <DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if there was an error in
429 adding the <CODE>faultString</CODE> to the underlying XML
430 tree.<DT><B>See Also:</B><DD><A HREF="../../../javax/xml/soap/SOAPFault.html#getFaultString()"><CODE>getFaultString()</CODE></A></DL>
431 </DD>
432 </DL>
433 <HR>
434
435 <A NAME="getFaultString()"><!-- --></A><H3>
436 getFaultString</H3>
437 <PRE>
438 public java.lang.String <B>getFaultString</B>()</PRE>
439 <DL>
440 <DD>Gets the fault string for this <CODE>SOAPFault</CODE>
441 object.
442 <P>
443 <DD><DL>
444 </DL>
445 </DD>
446 <DD><DL>
447
448 <DT><B>Returns:</B><DD>a <CODE>String</CODE> giving an explanation of the
449 fault</DL>
450 </DD>
451 </DL>
452 <HR>
453
454 <A NAME="getDetail()"><!-- --></A><H3>
455 getDetail</H3>
456 <PRE>
457 public <A HREF="../../../javax/xml/soap/Detail.html" title="interface in javax.xml.soap">Detail</A> <B>getDetail</B>()</PRE>
458 <DL>
459 <DD>Returns the detail element for this <CODE>SOAPFault</CODE>
460 object.
461
462 <P>A <CODE>Detail</CODE> object carries
463 application-specific error information related to <CODE>
464 SOAPBodyElement</CODE> objects.</P>
465 <P>
466 <DD><DL>
467 </DL>
468 </DD>
469 <DD><DL>
470
471 <DT><B>Returns:</B><DD>a <CODE>Detail</CODE> object with
472 application-specific error information</DL>
473 </DD>
474 </DL>
475 <HR>
476
477 <A NAME="addDetail()"><!-- --></A><H3>
478 addDetail</H3>
479 <PRE>
480 public <A HREF="../../../javax/xml/soap/Detail.html" title="interface in javax.xml.soap">Detail</A> <B>addDetail</B>()
481 throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE>
482 <DL>
483 <DD>Creates a <CODE>Detail</CODE> object and sets it as the
484 <CODE>Detail</CODE> object for this <CODE>SOAPFault</CODE>
485 object.
486
487 <P>It is illegal to add a detail when the fault already
488 contains a detail. Therefore, this method should be called
489 only after the existing detail has been removed.</P>
490 <P>
491 <DD><DL>
492 </DL>
493 </DD>
494 <DD><DL>
495
496 <DT><B>Returns:</B><DD>the new <CODE>Detail</CODE> object
497 <DT><B>Throws:</B>
498 <DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if this
499 <CODE>SOAPFault</CODE> object already contains a valid
500 <CODE>Detail</CODE> object</DL>
501 </DD>
502 </DL>
503 <HR>
504
505 <A NAME="setFaultCode(javax.xml.soap.Name)"><!-- --></A><H3>
506 setFaultCode</H3>
507 <PRE>
508 public void <B>setFaultCode</B>(<A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</A>&nbsp;name)
509 throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE>
510 <DL>
511 <DD>Sets this <code>SOAPFault</code> object with the given fault code.
512
513 Fault codes, which give information about the fault, are defined in the
514 SOAP 1.1 specification. A fault code is mandatory and must be of type
515 <code>QName</code>. This method provides a convenient way to set a fault
516 code. For example,
517
518 <pre>
519 SOAPEnvelope se = ...;
520 // Create a qualified name in the SOAP namespace with a localName
521 // of "Client". Note that prefix parameter is optional and is null
522 // here which causes the implementation to use an appropriate prefix.
523 Name qname = se.createName("Client", null,
524 SOAPConstants.URI_NS_SOAP_ENVELOPE);
525 SOAPFault fault = ...;
526 fault.setFaultCode(qname);
527
528 It is preferable to use this method over setFaultCode(String).
529 <P>
530 <DD><DL>
531 </DL>
532 </DD>
533 <DD><DL>
534 <DT><B>Parameters:</B><DD><CODE>name</CODE> - a <code>Name</code> object giving the fault code to be set.
535 It must be namespace qualified.
536 <DT><B>Throws:</B>
537 <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 the
538 <code>faultcode</code> element to the underlying XML tree</DL>
539 </DD>
540 </DL>
541 <HR>
542
543 <A NAME="getFaultCodeAsName()"><!-- --></A><H3>
544 getFaultCodeAsName</H3>
545 <PRE>
546 public <A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</A> <B>getFaultCodeAsName</B>()</PRE>
547 <DL>
548 <DD>Gets the mandatory SOAP 1.1 fault code for this <code>SOAPFault</code>
549 object as a SAAJ <code>Name</code> object. The SOAP 1.1 specification
550 requires the value of the "faultcode" element to be of type QName. This
551 method returns the content of the element as a QName in the form of a
552 SAAJ <code>Name</code> object. This method should be used instead of the
553 <code>getFaultCode()</code> method since it allows applications to easily
554 access the namespace name without additional parsing.
555 <p>
556 In the future, a QName object version of this method may also be added.
557 <P>
558 <DD><DL>
559 </DL>
560 </DD>
561 <DD><DL>
562
563 <DT><B>Returns:</B><DD>a <code>Name</code> representing the faultcode</DL>
564 </DD>
565 </DL>
566 <HR>
567
568 <A NAME="setFaultString(java.lang.String, java.util.Locale)"><!-- --></A><H3>
569 setFaultString</H3>
570 <PRE>
571 public void <B>setFaultString</B>(java.lang.String&nbsp;faultString,
572 java.util.Locale&nbsp;locale)
573 throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE>
574 <DL>
575 <DD>Sets the fault string for this <code>SOAPFault</code> object to the given
576 string and localized to the given locale.
577 <P>
578 <DD><DL>
579 </DL>
580 </DD>
581 <DD><DL>
582 <DT><B>Parameters:</B><DD><CODE>faultString</CODE> - a <code>String</code> giving an explanation of
583 the fault<DD><CODE>locale</CODE> - a <code>Locale</code> object indicating the
584 native language of the <code>faultString</code>
585 <DT><B>Throws:</B>
586 <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 the
587 <code>faultString</code> to the underlying XML tree</DL>
588 </DD>
589 </DL>
590 <HR>
591
592 <A NAME="getFaultStringLocale()"><!-- --></A><H3>
593 getFaultStringLocale</H3>
594 <PRE>
595 public java.util.Locale <B>getFaultStringLocale</B>()</PRE>
596 <DL>
597 <DD>Returns the optional detail element for this <code>SOAPFault</code>
598 object.
599 <P>
600 <DD><DL>
601 </DL>
602 </DD>
603 <DD><DL>
604
605 <DT><B>Returns:</B><DD>a <code>Locale</code> object indicating the native language of
606 the fault string or <code>null</code> if no locale was
607 specified</DL>
608 </DD>
609 </DL>
610 <!-- ========= END OF CLASS DATA ========= -->
611 <HR>
612
613
614 <!-- ======= START OF BOTTOM NAVBAR ====== -->
615 <A NAME="navbar_bottom"><!-- --></A>
616 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
617 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
618 <TR>
619 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
620 <A NAME="navbar_bottom_firstrow"><!-- --></A>
621 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
622 <TR ALIGN="center" VALIGN="top">
623 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
624 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
625 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
626 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SOAPFault.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
627 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
628 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
629 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
630 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
631 </TR>
632 </TABLE>
633 </TD>
634 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
635 </EM>
636 </TD>
637 </TR>
638
639 <TR>
640 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
641 &nbsp;<A HREF="../../../javax/xml/soap/SOAPEnvelope.html" title="interface in javax.xml.soap"><B>PREV CLASS</B></A>&nbsp;
642 &nbsp;<A HREF="../../../javax/xml/soap/SOAPFaultElement.html" title="interface in javax.xml.soap"><B>NEXT CLASS</B></A></FONT></TD>
643 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
644 <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
645 &nbsp;<A HREF="SOAPFault.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
646 &nbsp;<SCRIPT type="text/javascript">
647 <!--
648 if(window==top) {
649 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
650 }
651 //-->
652 </SCRIPT>
653 <NOSCRIPT>
654 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
655 </NOSCRIPT>
656
657 </FONT></TD>
658 </TR>
659 <TR>
660 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
661 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
662 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
663 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
664 </TR>
665 </TABLE>
666 <A NAME="skip-navbar_bottom"></A>
667 <!-- ======== END OF BOTTOM NAVBAR ======= -->
668
669 <HR>
670 Copyright © 2005 Apache Web Services Project. All Rights Reserved.
671 </BODY>
672 </HTML>