soapelement.html
来自「j2ee api,很好的api。我这现在有」· HTML 代码 · 共 950 行 · 第 1/4 页
HTML
950 行
<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an iterator over the namespace prefixes are within scope of this <code>SOAPElement</code> object<DT><B>Since:</B></DT> <DD>SAAJ 1.2</DD></DL></DD></DL><HR><A NAME="getElementName()"><!-- --></A><H3>getElementName</H3><PRE>public <A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</A> <B>getElementName</B>()</PRE><DL><DD>Returns the name of this <code>SOAPElement</code> object.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a <code>Name</code> object with the name of this <code>SOAPElement</code> object</DL></DD></DL><HR><A NAME="removeAttribute(javax.xml.soap.Name)"><!-- --></A><H3>removeAttribute</H3><PRE>public boolean <B>removeAttribute</B>(<A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</A> name)</PRE><DL><DD>Removes the attribute with the specified name.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the <code>Name</code> object with the name of the attribute to be removed<DT><B>Returns:</B><DD><code>true</code> if the attribute was removed successfully; <code>false</code> if it was not</DL></DD></DL><HR><A NAME="removeNamespaceDeclaration(java.lang.String)"><!-- --></A><H3>removeNamespaceDeclaration</H3><PRE>public boolean <B>removeNamespaceDeclaration</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> prefix)</PRE><DL><DD>Removes the namespace declaration corresponding to the given prefix.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>prefix</CODE> - a <code>String</code> giving the prefix for which to search<DT><B>Returns:</B><DD><code>true</code> if the namespace declaration was removed successfully; <code>false</code> if it was not</DL></DD></DL><HR><A NAME="getChildElements()"><!-- --></A><H3>getChildElements</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Iterator.html" title="class or interface in java.util">Iterator</A> <B>getChildElements</B>()</PRE><DL><DD>Returns an <code>Iterator</code> over all the immediate child <A HREF="../../../javax/xml/soap/Node.html" title="interface in javax.xml.soap"><CODE>Node</CODE></A>s of this element. This includes <code>javax.xml.soap.Text</code> objects as well as <code>SOAPElement</code> objects. <p> Calling this method may cause child <code>Element</code>, <code>SOAPElement</code> and <code>org.w3c.dom.Text</code> nodes to be replaced by <code>SOAPElement</code>, <code>SOAPHeaderElement</code>, <code>SOAPBodyElement</code> or <code>javax.xml.soap.Text</code> nodes as appropriate for the type of this parent node. As a result the calling application must treat any existing references to these child nodes that have been obtained through DOM APIs as invalid and either discard them or refresh them with the values returned by this <code>Iterator</code>. This behavior can be avoided by calling the equivalent DOM APIs. See <a HREF="package-summary.html#package_description">javax.xml.soap<a> for more details.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an iterator with the content of this <code>SOAPElement</code> object</DL></DD></DL><HR><A NAME="getChildElements(javax.xml.soap.Name)"><!-- --></A><H3>getChildElements</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Iterator.html" title="class or interface in java.util">Iterator</A> <B>getChildElements</B>(<A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</A> name)</PRE><DL><DD>Returns an <code>Iterator</code> over all the immediate child <A HREF="../../../javax/xml/soap/Node.html" title="interface in javax.xml.soap"><CODE>Node</CODE></A>s of this element with the specified name. All of these children will be <code>SOAPElement</code> nodes. <p> Calling this method may cause child <code>Element</code>, <code>SOAPElement</code> and <code>org.w3c.dom.Text</code> nodes to be replaced by <code>SOAPElement</code>, <code>SOAPHeaderElement</code>, <code>SOAPBodyElement</code> or <code>javax.xml.soap.Text</code> nodes as appropriate for the type of this parent node. As a result the calling application must treat any existing references to these child nodes that have been obtained through DOM APIs as invalid and either discard them or refresh them with the values returned by this <code>Iterator</code>. This behavior can be avoided by calling the equivalent DOM APIs. See <a HREF="package-summary.html#package_description">javax.xml.soap<a> for more details.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - a <code>Name</code> object with the name of the child elements to be returned<DT><B>Returns:</B><DD>an <code>Iterator</code> object over all the elements in this <code>SOAPElement</code> object with the specified name</DL></DD></DL><HR><A NAME="setEncodingStyle(java.lang.String)"><!-- --></A><H3>setEncodingStyle</H3><PRE>public void <B>setEncodingStyle</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> encodingStyle) throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE><DL><DD>Sets the encoding style for this <code>SOAPElement</code> object to one specified.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>encodingStyle</CODE> - a <code>String</code> giving the encoding style<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if there was a problem in the encoding style being set.<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></DD></DL><HR><A NAME="getEncodingStyle()"><!-- --></A><H3>getEncodingStyle</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getEncodingStyle</B>()</PRE><DL><DD>Returns the encoding style for this <code>SOAPElement</code> object.<P><DD><DL></DL></DD><DD><DL><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></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=3 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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Ent. Ed. v1.4</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../javax/xml/soap/SOAPConstants.html" title="interface in javax.xml.soap"><B>PREV CLASS</B></A> <A HREF="../../../javax/xml/soap/SOAPEnvelope.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" target="_top"><B>FRAMES</B></A> <A HREF="SOAPElement.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <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 2003 Sun Microsystems, Inc. All rights reserved.</font></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?