Debian Codegraph @

docs/apiDocs/org/apache/axis/soap/MessageFactoryImpl.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:22 PDT 2006 -->
6 <TITLE>
7 MessageFactoryImpl (Axis API)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="org.apache.axis.soap.MessageFactoryImpl class">
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="MessageFactoryImpl (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/MessageFactoryImpl.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;PREV CLASS&nbsp;
54 &nbsp;<A HREF="../../../../org/apache/axis/soap/SOAP11Constants.html" title="class in org.apache.axis.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="MessageFactoryImpl.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;<A HREF="#constructor_summary">CONSTR</A>&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;<A HREF="#constructor_detail">CONSTR</A>&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 org.apache.axis.soap</FONT>
86 <BR>
87 Class MessageFactoryImpl</H2>
88 <PRE>
89 java.lang.Object
90 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../javax/xml/soap/MessageFactory.html" title="class in javax.xml.soap">javax.xml.soap.MessageFactory</A>
91 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.axis.soap.MessageFactoryImpl</B>
92 </PRE>
93 <HR>
94 <DL>
95 <DT>public class <B>MessageFactoryImpl</B><DT>extends <A HREF="../../../../javax/xml/soap/MessageFactory.html" title="class in javax.xml.soap">MessageFactory</A></DL>
96
97 <P>
98 Message Factory implementation
99 <P>
100
101 <P>
102 <DL>
103 <DT><B>Author:</B></DT>
104 <DD>Davanum Srinivas ([email protected])</DD>
105 </DL>
106 <HR>
107
108 <P>
109 <!-- ======== NESTED CLASS SUMMARY ======== -->
110
111
112 <!-- =========== FIELD SUMMARY =========== -->
113
114
115 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
116
117 <A NAME="constructor_summary"><!-- --></A>
118 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
119 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
120 <TD COLSPAN=2><FONT SIZE="+2">
121 <B>Constructor Summary</B></FONT></TD>
122 </TR>
123 <TR BGCOLOR="white" CLASS="TableRowColor">
124 <TD><CODE><B><A HREF="../../../../org/apache/axis/soap/MessageFactoryImpl.html#MessageFactoryImpl()">MessageFactoryImpl</A></B>()</CODE>
125
126 <BR>
127 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
128 </TR>
129 </TABLE>
130 &nbsp;
131 <!-- ========== METHOD SUMMARY =========== -->
132
133 <A NAME="method_summary"><!-- --></A>
134 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
135 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
136 <TD COLSPAN=2><FONT SIZE="+2">
137 <B>Method Summary</B></FONT></TD>
138 </TR>
139 <TR BGCOLOR="white" CLASS="TableRowColor">
140 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
141 <CODE>&nbsp;<A HREF="../../../../javax/xml/soap/SOAPMessage.html" title="class in javax.xml.soap">SOAPMessage</A></CODE></FONT></TD>
142 <TD><CODE><B><A HREF="../../../../org/apache/axis/soap/MessageFactoryImpl.html#createMessage()">createMessage</A></B>()</CODE>
143
144 <BR>
145 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new <CODE>SOAPMessage</CODE> object with the
146 default <CODE>SOAPPart</CODE>, <CODE>SOAPEnvelope</CODE>,
147 <CODE>SOAPBody</CODE>, and <CODE>SOAPHeader</CODE> objects.</TD>
148 </TR>
149 <TR BGCOLOR="white" CLASS="TableRowColor">
150 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
151 <CODE>&nbsp;<A HREF="../../../../javax/xml/soap/SOAPMessage.html" title="class in javax.xml.soap">SOAPMessage</A></CODE></FONT></TD>
152 <TD><CODE><B><A HREF="../../../../org/apache/axis/soap/MessageFactoryImpl.html#createMessage(javax.xml.soap.MimeHeaders, java.io.InputStream)">createMessage</A></B>(<A HREF="../../../../javax/xml/soap/MimeHeaders.html" title="class in javax.xml.soap">MimeHeaders</A>&nbsp;mimeheaders,
153 java.io.InputStream&nbsp;inputstream)</CODE>
154
155 <BR>
156 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Internalizes the contents of the given <CODE>
157 InputStream</CODE> object into a new <CODE>SOAPMessage</CODE>
158 object and returns the <CODE>SOAPMessage</CODE> object.</TD>
159 </TR>
160 </TABLE>
161 &nbsp;<A NAME="methods_inherited_from_class_javax.xml.soap.MessageFactory"><!-- --></A>
162 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
163 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
164 <TD><B>Methods inherited from class javax.xml.soap.<A HREF="../../../../javax/xml/soap/MessageFactory.html" title="class in javax.xml.soap">MessageFactory</A></B></TD>
165 </TR>
166 <TR BGCOLOR="white" CLASS="TableRowColor">
167 <TD><CODE><A HREF="../../../../javax/xml/soap/MessageFactory.html#newInstance()">newInstance</A></CODE></TD>
168 </TR>
169 </TABLE>
170 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
171 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
172 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
173 <TD><B>Methods inherited from class java.lang.Object</B></TD>
174 </TR>
175 <TR BGCOLOR="white" CLASS="TableRowColor">
176 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
177 </TR>
178 </TABLE>
179 &nbsp;
180 <P>
181
182 <!-- ============ FIELD DETAIL =========== -->
183
184
185 <!-- ========= CONSTRUCTOR DETAIL ======== -->
186
187 <A NAME="constructor_detail"><!-- --></A>
188 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
189 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
190 <TD COLSPAN=1><FONT SIZE="+2">
191 <B>Constructor Detail</B></FONT></TD>
192 </TR>
193 </TABLE>
194
195 <A NAME="MessageFactoryImpl()"><!-- --></A><H3>
196 MessageFactoryImpl</H3>
197 <PRE>
198 public <B>MessageFactoryImpl</B>()</PRE>
199 <DL>
200 </DL>
201
202 <!-- ============ METHOD DETAIL ========== -->
203
204 <A NAME="method_detail"><!-- --></A>
205 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
206 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
207 <TD COLSPAN=1><FONT SIZE="+2">
208 <B>Method Detail</B></FONT></TD>
209 </TR>
210 </TABLE>
211
212 <A NAME="createMessage()"><!-- --></A><H3>
213 createMessage</H3>
214 <PRE>
215 public <A HREF="../../../../javax/xml/soap/SOAPMessage.html" title="class in javax.xml.soap">SOAPMessage</A> <B>createMessage</B>()
216 throws <A HREF="../../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE>
217 <DL>
218 <DD>Creates a new <CODE>SOAPMessage</CODE> object with the
219 default <CODE>SOAPPart</CODE>, <CODE>SOAPEnvelope</CODE>,
220 <CODE>SOAPBody</CODE>, and <CODE>SOAPHeader</CODE> objects.
221 Profile-specific message factories can choose to
222 prepopulate the <CODE>SOAPMessage</CODE> object with
223 profile-specific headers.
224
225 <P>Content can be added to this message's <CODE>
226 SOAPPart</CODE> object, and the message can be sent "as is"
227 when a message containing only a SOAP part is sufficient.
228 Otherwise, the <CODE>SOAPMessage</CODE> object needs to
229 create one or more <CODE>AttachmentPart</CODE> objects and
230 add them to itself. Any content that is not in XML format
231 must be in an <CODE>AttachmentPart</CODE> object.</P>
232 <P>
233 <DD><DL>
234 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/soap/MessageFactory.html#createMessage()">createMessage</A></CODE> in class <CODE><A HREF="../../../../javax/xml/soap/MessageFactory.html" title="class in javax.xml.soap">MessageFactory</A></CODE></DL>
235 </DD>
236 <DD><DL>
237
238 <DT><B>Returns:</B><DD>a new <CODE>SOAPMessage</CODE> object
239 <DT><B>Throws:</B>
240 <DD><CODE><A HREF="../../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if a SOAP error occurs</DL>
241 </DD>
242 </DL>
243 <HR>
244
245 <A NAME="createMessage(javax.xml.soap.MimeHeaders, java.io.InputStream)"><!-- --></A><H3>
246 createMessage</H3>
247 <PRE>
248 public <A HREF="../../../../javax/xml/soap/SOAPMessage.html" title="class in javax.xml.soap">SOAPMessage</A> <B>createMessage</B>(<A HREF="../../../../javax/xml/soap/MimeHeaders.html" title="class in javax.xml.soap">MimeHeaders</A>&nbsp;mimeheaders,
249 java.io.InputStream&nbsp;inputstream)
250 throws java.io.IOException,
251 <A HREF="../../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE>
252 <DL>
253 <DD>Internalizes the contents of the given <CODE>
254 InputStream</CODE> object into a new <CODE>SOAPMessage</CODE>
255 object and returns the <CODE>SOAPMessage</CODE> object.
256 <P>
257 <DD><DL>
258 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/soap/MessageFactory.html#createMessage(javax.xml.soap.MimeHeaders, java.io.InputStream)">createMessage</A></CODE> in class <CODE><A HREF="../../../../javax/xml/soap/MessageFactory.html" title="class in javax.xml.soap">MessageFactory</A></CODE></DL>
259 </DD>
260 <DD><DL>
261 <DT><B>Parameters:</B><DD><CODE>mimeheaders</CODE> - the transport-specific headers
262 passed to the message in a transport-independent fashion
263 for creation of the message<DD><CODE>inputstream</CODE> - the <CODE>InputStream</CODE> object
264 that contains the data for a message
265 <DT><B>Returns:</B><DD>a new <CODE>SOAPMessage</CODE> object containing the
266 data from the given <CODE>InputStream</CODE> object
267 <DT><B>Throws:</B>
268 <DD><CODE>java.io.IOException</CODE> - if there is a
269 problem in reading data from the input stream
270 <DD><CODE><A HREF="../../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if the message is invalid</DL>
271 </DD>
272 </DL>
273 <!-- ========= END OF CLASS DATA ========= -->
274 <HR>
275
276
277 <!-- ======= START OF BOTTOM NAVBAR ====== -->
278 <A NAME="navbar_bottom"><!-- --></A>
279 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
280 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
281 <TR>
282 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
283 <A NAME="navbar_bottom_firstrow"><!-- --></A>
284 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
285 <TR ALIGN="center" VALIGN="top">
286 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
287 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
288 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
289 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MessageFactoryImpl.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
290 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
291 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
292 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
293 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
294 </TR>
295 </TABLE>
296 </TD>
297 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
298 </EM>
299 </TD>
300 </TR>
301
302 <TR>
303 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
304 &nbsp;PREV CLASS&nbsp;
305 &nbsp;<A HREF="../../../../org/apache/axis/soap/SOAP11Constants.html" title="class in org.apache.axis.soap"><B>NEXT CLASS</B></A></FONT></TD>
306 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
307 <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
308 &nbsp;<A HREF="MessageFactoryImpl.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
309 &nbsp;<SCRIPT type="text/javascript">
310 <!--
311 if(window==top) {
312 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
313 }
314 //-->
315 </SCRIPT>
316 <NOSCRIPT>
317 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
318 </NOSCRIPT>
319
320 </FONT></TD>
321 </TR>
322 <TR>
323 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
324 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
325 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
326 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
327 </TR>
328 </TABLE>
329 <A NAME="skip-navbar_bottom"></A>
330 <!-- ======== END OF BOTTOM NAVBAR ======= -->
331
332 <HR>
333 Copyright © 2005 Apache Web Services Project. All Rights Reserved.
334 </BODY>
335 </HTML>