⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 saajresult.html

📁 j2ee帮助文档软件设计/软件工程 文件格式
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="SAAJResult()"><!-- --></A><H3>SAAJResult</H3><PRE>public <B>SAAJResult</B>()           throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE><DL><DD>Creates a <code>SAAJResult</code> that will present results in the form of a SAAJ tree that supports the default (SOAP 1.1) protocol.  <p> This kind of <code>SAAJResult</code> is meant for use in situations where the  results will be used as a parameter to a method that takes a parameter  whose type, such as <code>SOAPElement</code>, is drawn from the SAAJ  API. When used in a transformation, the results are populated into the  <code>SOAPPart</code> of a <code>SOAPMessage</code> that is created internally. The <code>SOAPPart</code> returned by <A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/xml/transform/dom/DOMResult.html#getNode()" title="class or interface in javax.xml.transform.dom"><CODE>DOMResult.getNode()</CODE></A>  is not guaranteed to be well-formed.<P><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if there is a problem creating a <code>SOAPMessage</code><DT><B>Since:</B></DT>  <DD>SAAJ 1.3</DD></DL></DL><HR><A NAME="SAAJResult(java.lang.String)"><!-- --></A><H3>SAAJResult</H3><PRE>public <B>SAAJResult</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;protocol)           throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE><DL><DD>Creates a <code>SAAJResult</code> that will present results in the form of a SAAJ tree that supports the specified protocol. The  <code>DYNAMIC_SOAP_PROTOCOL</code> is ambiguous in this context and will cause this constructor to throw an <code>UnsupportedOperationException</code>.  <p> This kind of <code>SAAJResult</code> is meant for use in situations where the  results will be used as a parameter to a method that takes a parameter  whose type, such as <code>SOAPElement</code>, is drawn from the SAAJ  API. When used in a transformation the results are populated into the  <code>SOAPPart</code> of a <code>SOAPMessage</code> that is created  internally. The <code>SOAPPart</code> returned by <A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/xml/transform/dom/DOMResult.html#getNode()" title="class or interface in javax.xml.transform.dom"><CODE>DOMResult.getNode()</CODE></A>  is not guaranteed to be well-formed.<P><DL><DT><B>Parameters:</B><DD><CODE>protocol</CODE> - - the name of the SOAP protocol that the resulting SAAJ                       tree should support<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if a <code>SOAPMessage</code> supporting the              specified protocol cannot be created<DT><B>Since:</B></DT>  <DD>SAAJ 1.3</DD></DL></DL><HR><A NAME="SAAJResult(javax.xml.soap.SOAPMessage)"><!-- --></A><H3>SAAJResult</H3><PRE>public <B>SAAJResult</B>(<A HREF="../../../javax/xml/soap/SOAPMessage.html" title="class in javax.xml.soap">SOAPMessage</A>&nbsp;message)</PRE><DL><DD>Creates a <code>SAAJResult</code> that will write the results into the <code>SOAPPart</code> of the supplied <code>SOAPMessage</code>.  In the normal case these results will be written using DOM APIs and,  as a result, the finished <code>SOAPPart</code> will not be guaranteed  to be well-formed unless the data used to create it is also well formed.  When used in a transformation the validity of the <code>SOAPMessage</code>  after the transformation can be guaranteed only by means outside SAAJ  specification.<P><DL><DT><B>Parameters:</B><DD><CODE>message</CODE> - - the message whose <code>SOAPPart</code> will be                   populated as a result of some transformation or                   marshalling operation<DT><B>Since:</B></DT>  <DD>SAAJ 1.3</DD></DL></DL><HR><A NAME="SAAJResult(javax.xml.soap.SOAPElement)"><!-- --></A><H3>SAAJResult</H3><PRE>public <B>SAAJResult</B>(<A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A>&nbsp;rootNode)</PRE><DL><DD>Creates a <code>SAAJResult</code> that will write the results as a  child node of the <code>SOAPElement</code> specified. In the normal case these results will be written using DOM APIs and as a result may invalidate the structure of the SAAJ tree. This kind of  <code>SAAJResult</code> should only be used when the validity of the incoming data can be guaranteed by means outside of the SAAJ  specification.<P><DL><DT><B>Parameters:</B><DD><CODE>rootNode</CODE> - - the root to which the results will be appended<DT><B>Since:</B></DT>  <DD>SAAJ 1.3</DD></DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getResult()"><!-- --></A><H3>getResult</H3><PRE>public <A HREF="../../../javax/xml/soap/Node.html" title="interface in javax.xml.soap">Node</A> <B>getResult</B>()</PRE><DL><DD><DL><DT><B>Returns:</B><DD>the resulting Tree that was created under the specified root Node.<DT><B>Since:</B></DT>  <DD>SAAJ 1.3</DD></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../javax/xml/soap/SAAJMetaFactory.html" title="class in javax.xml.soap"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/xml/soap/SOAPBody.html" title="interface in javax.xml.soap"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?javax/xml/soap/SAAJResult.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="SAAJResult.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javax.xml.transform.dom.DOMResult">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><font size="-1"><a href="http://java.sun.com/webapps/bugreport">Submit a bug or feature</a> <p>Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to <a href="../legal/license.html" target="_top">license terms.</a></font></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -