| 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 |
SOAPFactory (Axis API) |
| 8 |
</TITLE> |
| 9 |
|
| 10 |
<META NAME="keywords" CONTENT="javax.xml.soap.SOAPFactory 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="SOAPFactory (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> </TD> |
| 36 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 37 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 38 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SOAPFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 39 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 40 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 41 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 42 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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 |
<A HREF="../../../javax/xml/soap/SOAPElementFactory.html" title="class in javax.xml.soap"><B>PREV CLASS</B></A> |
| 54 |
<A HREF="../../../javax/xml/soap/SOAPMessage.html" title="class 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> |
| 57 |
<A HREF="SOAPFactory.html" target="_top"><B>NO FRAMES</B></A> |
| 58 |
<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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 74 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 75 |
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 |
Class SOAPFactory</H2> |
| 88 |
<PRE> |
| 89 |
java.lang.Object |
| 90 |
<IMG SRC="../../../resources/inherit.gif" ALT="extended by"><B>javax.xml.soap.SOAPFactory</B> |
| 91 |
</PRE> |
| 92 |
<DL> |
| 93 |
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../org/apache/axis/soap/SOAPFactoryImpl.html" title="class in org.apache.axis.soap">SOAPFactoryImpl</A></DD> |
| 94 |
</DL> |
| 95 |
<HR> |
| 96 |
<DL> |
| 97 |
<DT>public abstract class <B>SOAPFactory</B><DT>extends java.lang.Object</DL> |
| 98 |
|
| 99 |
<P> |
| 100 |
<code>SOAPFactory</code> is a factory for creating various objects |
| 101 |
that exist in the SOAP XML tree. |
| 102 |
|
| 103 |
<code>SOAPFactory</code> can be |
| 104 |
used to create XML fragments that will eventually end up in the |
| 105 |
SOAP part. These fragments can be inserted as children of the |
| 106 |
<code>SOAPHeaderElement</code> or <code>SOAPBodyElement</code> or |
| 107 |
<code>SOAPEnvelope</code>. |
| 108 |
|
| 109 |
<code>SOAPFactory</code> also has methods to create |
| 110 |
<code>javax.xml.soap.Detail</code> objects as well as |
| 111 |
<code>java.xml.soap.Name</code> objects. |
| 112 |
<P> |
| 113 |
|
| 114 |
<P> |
| 115 |
<HR> |
| 116 |
|
| 117 |
<P> |
| 118 |
<!-- ======== NESTED CLASS SUMMARY ======== --> |
| 119 |
|
| 120 |
|
| 121 |
<!-- =========== FIELD SUMMARY =========== --> |
| 122 |
|
| 123 |
|
| 124 |
<!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| 125 |
|
| 126 |
<A NAME="constructor_summary"><!-- --></A> |
| 127 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 128 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 129 |
<TD COLSPAN=2><FONT SIZE="+2"> |
| 130 |
<B>Constructor Summary</B></FONT></TD> |
| 131 |
</TR> |
| 132 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 133 |
<TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPFactory.html#SOAPFactory()">SOAPFactory</A></B>()</CODE> |
| 134 |
|
| 135 |
<BR> |
| 136 |
</TD> |
| 137 |
</TR> |
| 138 |
</TABLE> |
| 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>abstract <A HREF="../../../javax/xml/soap/Detail.html" title="interface in javax.xml.soap">Detail</A></CODE></FONT></TD> |
| 151 |
<TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPFactory.html#createDetail()">createDetail</A></B>()</CODE> |
| 152 |
|
| 153 |
<BR> |
| 154 |
Creates a new <code>Detail</code> object which serves as a container |
| 155 |
for <code>DetailEntry</code> objects.</TD> |
| 156 |
</TR> |
| 157 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 158 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 159 |
<CODE>abstract <A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A></CODE></FONT></TD> |
| 160 |
<TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPFactory.html#createElement(javax.xml.soap.Name)">createElement</A></B>(<A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</A> name)</CODE> |
| 161 |
|
| 162 |
<BR> |
| 163 |
Create a <code>SOAPElement</code> object initialized with the |
| 164 |
given <code>Name</code> object.</TD> |
| 165 |
</TR> |
| 166 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 167 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 168 |
<CODE>abstract <A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A></CODE></FONT></TD> |
| 169 |
<TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPFactory.html#createElement(java.lang.String)">createElement</A></B>(java.lang.String localName)</CODE> |
| 170 |
|
| 171 |
<BR> |
| 172 |
Create a <code>SOAPElement</code> object initialized with the |
| 173 |
given local name.</TD> |
| 174 |
</TR> |
| 175 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 176 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 177 |
<CODE>abstract <A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A></CODE></FONT></TD> |
| 178 |
<TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPFactory.html#createElement(java.lang.String, java.lang.String, java.lang.String)">createElement</A></B>(java.lang.String localName, |
| 179 |
java.lang.String prefix, |
| 180 |
java.lang.String uri)</CODE> |
| 181 |
|
| 182 |
<BR> |
| 183 |
Create a new <code>SOAPElement</code> object with the given |
| 184 |
local name, prefix and uri.</TD> |
| 185 |
</TR> |
| 186 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 187 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 188 |
<CODE>abstract <A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</A></CODE></FONT></TD> |
| 189 |
<TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPFactory.html#createName(java.lang.String)">createName</A></B>(java.lang.String localName)</CODE> |
| 190 |
|
| 191 |
<BR> |
| 192 |
Creates a new <code>Name</code> object initialized with the |
| 193 |
given local name.</TD> |
| 194 |
</TR> |
| 195 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 196 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 197 |
<CODE>abstract <A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</A></CODE></FONT></TD> |
| 198 |
<TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPFactory.html#createName(java.lang.String, java.lang.String, java.lang.String)">createName</A></B>(java.lang.String localName, |
| 199 |
java.lang.String prefix, |
| 200 |
java.lang.String uri)</CODE> |
| 201 |
|
| 202 |
<BR> |
| 203 |
Creates a new <code>Name</code> object initialized with the |
| 204 |
given local name, namespace prefix, and namespace URI.</TD> |
| 205 |
</TR> |
| 206 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 207 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 208 |
<CODE>static <A HREF="../../../javax/xml/soap/SOAPFactory.html" title="class in javax.xml.soap">SOAPFactory</A></CODE></FONT></TD> |
| 209 |
<TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPFactory.html#newInstance()">newInstance</A></B>()</CODE> |
| 210 |
|
| 211 |
<BR> |
| 212 |
Creates a new instance of <code>SOAPFactory</code>.</TD> |
| 213 |
</TR> |
| 214 |
</TABLE> |
| 215 |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| 216 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 217 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| 218 |
<TD><B>Methods inherited from class java.lang.Object</B></TD> |
| 219 |
</TR> |
| 220 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 221 |
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
| 222 |
</TR> |
| 223 |
</TABLE> |
| 224 |
|
| 225 |
<P> |
| 226 |
|
| 227 |
<!-- ============ FIELD DETAIL =========== --> |
| 228 |
|
| 229 |
|
| 230 |
<!-- ========= CONSTRUCTOR DETAIL ======== --> |
| 231 |
|
| 232 |
<A NAME="constructor_detail"><!-- --></A> |
| 233 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 234 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 235 |
<TD COLSPAN=1><FONT SIZE="+2"> |
| 236 |
<B>Constructor Detail</B></FONT></TD> |
| 237 |
</TR> |
| 238 |
</TABLE> |
| 239 |
|
| 240 |
<A NAME="SOAPFactory()"><!-- --></A><H3> |
| 241 |
SOAPFactory</H3> |
| 242 |
<PRE> |
| 243 |
public <B>SOAPFactory</B>()</PRE> |
| 244 |
<DL> |
| 245 |
</DL> |
| 246 |
|
| 247 |
<!-- ============ METHOD DETAIL ========== --> |
| 248 |
|
| 249 |
<A NAME="method_detail"><!-- --></A> |
| 250 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 251 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 252 |
<TD COLSPAN=1><FONT SIZE="+2"> |
| 253 |
<B>Method Detail</B></FONT></TD> |
| 254 |
</TR> |
| 255 |
</TABLE> |
| 256 |
|
| 257 |
<A NAME="createElement(javax.xml.soap.Name)"><!-- --></A><H3> |
| 258 |
createElement</H3> |
| 259 |
<PRE> |
| 260 |
public abstract <A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A> <B>createElement</B>(<A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</A> name) |
| 261 |
throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE> |
| 262 |
<DL> |
| 263 |
<DD>Create a <code>SOAPElement</code> object initialized with the |
| 264 |
given <code>Name</code> object. |
| 265 |
<P> |
| 266 |
<DD><DL> |
| 267 |
<DT><B>Parameters:</B><DD><CODE>name</CODE> - a <code>Name</code> object with the XML name for |
| 268 |
the new element |
| 269 |
<DT><B>Returns:</B><DD>the new <code>SOAPElement</code> object that was |
| 270 |
created |
| 271 |
<DT><B>Throws:</B> |
| 272 |
<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 |
| 273 |
<code>SOAPElement</code> object</DL> |
| 274 |
</DD> |
| 275 |
</DL> |
| 276 |
<HR> |
| 277 |
|
| 278 |
<A NAME="createElement(java.lang.String)"><!-- --></A><H3> |
| 279 |
createElement</H3> |
| 280 |
<PRE> |
| 281 |
public abstract <A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A> <B>createElement</B>(java.lang.String localName) |
| 282 |
throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE> |
| 283 |
<DL> |
| 284 |
<DD>Create a <code>SOAPElement</code> object initialized with the |
| 285 |
given local name. |
| 286 |
<P> |
| 287 |
<DD><DL> |
| 288 |
<DT><B>Parameters:</B><DD><CODE>localName</CODE> - a <code>String</code> giving the local name for |
| 289 |
the new element |
| 290 |
<DT><B>Returns:</B><DD>the new <code>SOAPElement</code> object that was |
| 291 |
created |
| 292 |
<DT><B>Throws:</B> |
| 293 |
<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 |
| 294 |
<code>SOAPElement</code> object</DL> |
| 295 |
</DD> |
| 296 |
</DL> |
| 297 |
<HR> |
| 298 |
|
| 299 |
<A NAME="createElement(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3> |
| 300 |
createElement</H3> |
| 301 |
<PRE> |
| 302 |
public abstract <A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A> <B>createElement</B>(java.lang.String localName, |
| 303 |
java.lang.String prefix, |
| 304 |
java.lang.String uri) |
| 305 |
throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE> |
| 306 |
<DL> |
| 307 |
<DD>Create a new <code>SOAPElement</code> object with the given |
| 308 |
local name, prefix and uri. |
| 309 |
<P> |
| 310 |
<DD><DL> |
| 311 |
<DT><B>Parameters:</B><DD><CODE>localName</CODE> - a <code>String</code> giving the local name |
| 312 |
for the new element<DD><CODE>prefix</CODE> - the prefix for this <code>SOAPElement</code><DD><CODE>uri</CODE> - a <code>String</code> giving the URI of the |
| 313 |
namespace to which the new element belongs |
| 314 |
<DT><B>Returns:</B><DD>the new <code>SOAPElement</code> object that was |
| 315 |
created |
| 316 |
<DT><B>Throws:</B> |
| 317 |
<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 |
| 318 |
<code>SOAPElement</code> object</DL> |
| 319 |
</DD> |
| 320 |
</DL> |
| 321 |
<HR> |
| 322 |
|
| 323 |
<A NAME="createDetail()"><!-- --></A><H3> |
| 324 |
createDetail</H3> |
| 325 |
<PRE> |
| 326 |
public abstract <A HREF="../../../javax/xml/soap/Detail.html" title="interface in javax.xml.soap">Detail</A> <B>createDetail</B>() |
| 327 |
throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE> |
| 328 |
<DL> |
| 329 |
<DD>Creates a new <code>Detail</code> object which serves as a container |
| 330 |
for <code>DetailEntry</code> objects. |
| 331 |
<p> |
| 332 |
This factory method creates <code>Detail</code> objects for use in |
| 333 |
situations where it is not practical to use the <code>SOAPFault</code> |
| 334 |
abstraction. |
| 335 |
<P> |
| 336 |
<DD><DL> |
| 337 |
|
| 338 |
<DT><B>Returns:</B><DD>a <code>Detail</code> object |
| 339 |
<DT><B>Throws:</B> |
| 340 |
<DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if there is a SOAP error</DL> |
| 341 |
</DD> |
| 342 |
</DL> |
| 343 |
<HR> |
| 344 |
|
| 345 |
<A NAME="createName(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3> |
| 346 |
createName</H3> |
| 347 |
<PRE> |
| 348 |
public abstract <A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</A> <B>createName</B>(java.lang.String localName, |
| 349 |
java.lang.String prefix, |
| 350 |
java.lang.String uri) |
| 351 |
throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE> |
| 352 |
<DL> |
| 353 |
<DD>Creates a new <code>Name</code> object initialized with the |
| 354 |
given local name, namespace prefix, and namespace URI. |
| 355 |
<p> |
| 356 |
This factory method creates <code>Name</code> objects for use in |
| 357 |
situations where it is not practical to use the <code>SOAPEnvelope</code> |
| 358 |
abstraction. |
| 359 |
<P> |
| 360 |
<DD><DL> |
| 361 |
<DT><B>Parameters:</B><DD><CODE>localName</CODE> - a <code>String</code> giving the local name<DD><CODE>prefix</CODE> - a <code>String</code> giving the prefix of the namespace<DD><CODE>uri</CODE> - a <code>String</code> giving the URI of the namespace |
| 362 |
<DT><B>Returns:</B><DD>a <code>Name</code> object initialized with the given |
| 363 |
local name, namespace prefix, and namespace URI |
| 364 |
<DT><B>Throws:</B> |
| 365 |
<DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if there is a SOAP error</DL> |
| 366 |
</DD> |
| 367 |
</DL> |
| 368 |
<HR> |
| 369 |
|
| 370 |
<A NAME="createName(java.lang.String)"><!-- --></A><H3> |
| 371 |
createName</H3> |
| 372 |
<PRE> |
| 373 |
public abstract <A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</A> <B>createName</B>(java.lang.String localName) |
| 374 |
throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE> |
| 375 |
<DL> |
| 376 |
<DD>Creates a new <code>Name</code> object initialized with the |
| 377 |
given local name. |
| 378 |
<p> |
| 379 |
This factory method creates <code>Name</code> objects for use in |
| 380 |
situations where it is not practical to use the <code>SOAPEnvelope</code> |
| 381 |
abstraction. |
| 382 |
<P> |
| 383 |
<DD><DL> |
| 384 |
<DT><B>Parameters:</B><DD><CODE>localName</CODE> - a <code>String</code> giving the local name |
| 385 |
<DT><B>Returns:</B><DD>a <code>Name</code> object initialized with the given |
| 386 |
local name |
| 387 |
<DT><B>Throws:</B> |
| 388 |
<DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if there is a SOAP error</DL> |
| 389 |
</DD> |
| 390 |
</DL> |
| 391 |
<HR> |
| 392 |
|
| 393 |
<A NAME="newInstance()"><!-- --></A><H3> |
| 394 |
newInstance</H3> |
| 395 |
<PRE> |
| 396 |
public static <A HREF="../../../javax/xml/soap/SOAPFactory.html" title="class in javax.xml.soap">SOAPFactory</A> <B>newInstance</B>() |
| 397 |
throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE> |
| 398 |
<DL> |
| 399 |
<DD>Creates a new instance of <code>SOAPFactory</code>. |
| 400 |
<P> |
| 401 |
<DD><DL> |
| 402 |
|
| 403 |
<DT><B>Returns:</B><DD>a new instance of a <code>SOAPFactory</code> |
| 404 |
<DT><B>Throws:</B> |
| 405 |
<DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if there was an error creating the |
| 406 |
default <code>SOAPFactory</code></DL> |
| 407 |
</DD> |
| 408 |
</DL> |
| 409 |
<!-- ========= END OF CLASS DATA ========= --> |
| 410 |
<HR> |
| 411 |
|
| 412 |
|
| 413 |
<!-- ======= START OF BOTTOM NAVBAR ====== --> |
| 414 |
<A NAME="navbar_bottom"><!-- --></A> |
| 415 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| 416 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 417 |
<TR> |
| 418 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 419 |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
| 420 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 421 |
<TR ALIGN="center" VALIGN="top"> |
| 422 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| 423 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 424 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 425 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SOAPFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 426 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 427 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 428 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 429 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| 430 |
</TR> |
| 431 |
</TABLE> |
| 432 |
</TD> |
| 433 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 434 |
</EM> |
| 435 |
</TD> |
| 436 |
</TR> |
| 437 |
|
| 438 |
<TR> |
| 439 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 440 |
<A HREF="../../../javax/xml/soap/SOAPElementFactory.html" title="class in javax.xml.soap"><B>PREV CLASS</B></A> |
| 441 |
<A HREF="../../../javax/xml/soap/SOAPMessage.html" title="class in javax.xml.soap"><B>NEXT CLASS</B></A></FONT></TD> |
| 442 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 443 |
<A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> |
| 444 |
<A HREF="SOAPFactory.html" target="_top"><B>NO FRAMES</B></A> |
| 445 |
<SCRIPT type="text/javascript"> |
| 446 |
<!-- |
| 447 |
if(window==top) { |
| 448 |
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 449 |
} |
| 450 |
//--> |
| 451 |
</SCRIPT> |
| 452 |
<NOSCRIPT> |
| 453 |
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
| 454 |
</NOSCRIPT> |
| 455 |
|
| 456 |
</FONT></TD> |
| 457 |
</TR> |
| 458 |
<TR> |
| 459 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 460 |
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 461 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 462 |
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 463 |
</TR> |
| 464 |
</TABLE> |
| 465 |
<A NAME="skip-navbar_bottom"></A> |
| 466 |
<!-- ======== END OF BOTTOM NAVBAR ======= --> |
| 467 |
|
| 468 |
<HR> |
| 469 |
Copyright © 2005 Apache Web Services Project. All Rights Reserved. |
| 470 |
</BODY> |
| 471 |
</HTML> |