blob: b2df380007d0d607822906a6c0ec010a0e49e8e9 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SOAPElement (Apache Axis)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SOAPElement (Apache Axis)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/SOAPElement.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../javax/xml/soap/SOAPConstants.html" title="interface in javax.xml.soap"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../javax/xml/soap/SOAPElementFactory.html" title="class in javax.xml.soap"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?javax/xml/soap/SOAPElement.html" target="_top">Frames</a></li>
<li><a href="SOAPElement.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">javax.xml.soap</div>
<h2 title="Interface SOAPElement" class="title">Interface SOAPElement</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Superinterfaces:</dt>
<dd><a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a></dd>
</dl>
<dl>
<dt>All Known Subinterfaces:</dt>
<dd><a href="../../../javax/xml/soap/Detail.html" title="interface in javax.xml.soap">Detail</a>, <a href="../../../javax/xml/soap/DetailEntry.html" title="interface in javax.xml.soap">DetailEntry</a>, <a href="../../../javax/xml/soap/SOAPBody.html" title="interface in javax.xml.soap">SOAPBody</a>, <a href="../../../javax/xml/soap/SOAPBodyElement.html" title="interface in javax.xml.soap">SOAPBodyElement</a>, <a href="../../../javax/xml/soap/SOAPEnvelope.html" title="interface in javax.xml.soap">SOAPEnvelope</a>, <a href="../../../javax/xml/soap/SOAPFault.html" title="interface in javax.xml.soap">SOAPFault</a>, <a href="../../../javax/xml/soap/SOAPFaultElement.html" title="interface in javax.xml.soap">SOAPFaultElement</a>, <a href="../../../javax/xml/soap/SOAPHeader.html" title="interface in javax.xml.soap">SOAPHeader</a>, <a href="../../../javax/xml/soap/SOAPHeaderElement.html" title="interface in javax.xml.soap">SOAPHeaderElement</a></dd>
</dl>
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><a href="../../../org/apache/axis/message/Detail.html" title="class in org.apache.axis.message">Detail</a>, <a href="../../../org/apache/axis/message/DetailEntry.html" title="class in org.apache.axis.message">DetailEntry</a>, <a href="../../../org/apache/axis/message/InputStreamBody.html" title="class in org.apache.axis.message">InputStreamBody</a>, <a href="../../../org/apache/axis/message/MessageElement.html" title="class in org.apache.axis.message">MessageElement</a>, <a href="../../../org/apache/axis/message/RPCElement.html" title="class in org.apache.axis.message">RPCElement</a>, <a href="../../../org/apache/axis/message/RPCHeaderParam.html" title="class in org.apache.axis.message">RPCHeaderParam</a>, <a href="../../../org/apache/axis/message/RPCParam.html" title="class in org.apache.axis.message">RPCParam</a>, <a href="../../../org/apache/axis/message/SOAPBody.html" title="class in org.apache.axis.message">SOAPBody</a>, <a href="../../../org/apache/axis/message/SOAPBodyElement.html" title="class in org.apache.axis.message">SOAPBodyElement</a>, <a href="../../../org/apache/axis/message/SOAPEnvelope.html" title="class in org.apache.axis.message">SOAPEnvelope</a>, <a href="../../../org/apache/axis/message/SOAPFault.html" title="class in org.apache.axis.message">SOAPFault</a>, <a href="../../../org/apache/axis/message/SOAPFaultElement.html" title="class in org.apache.axis.message">SOAPFaultElement</a>, <a href="../../../org/apache/axis/message/SOAPHeader.html" title="class in org.apache.axis.message">SOAPHeader</a>, <a href="../../../org/apache/axis/message/SOAPHeaderElement.html" title="class in org.apache.axis.message">SOAPHeaderElement</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="strong">SOAPElement</span>
extends <a href="../../../javax/xml/soap/Node.html" title="interface in javax.xml.soap">Node</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a></pre>
<div class="block">An object representing the contents in a
<code>SOAPBody</code> object, the contents in a <code>SOAPHeader</code>
object, the content that can follow the <code>SOAPBody</code> object in a
<code>SOAPEnvelope</code> object, or what can follow the detail element
in a <code>SOAPFault</code> object. It is
the base class for all of the classes that represent the SOAP objects as
defined in the SOAP specification.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_org.w3c.dom.Node">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;org.w3c.dom.<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a></h3>
<code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#ATTRIBUTE_NODE" title="class or interface in org.w3c.dom">ATTRIBUTE_NODE</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#CDATA_SECTION_NODE" title="class or interface in org.w3c.dom">CDATA_SECTION_NODE</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#COMMENT_NODE" title="class or interface in org.w3c.dom">COMMENT_NODE</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#DOCUMENT_FRAGMENT_NODE" title="class or interface in org.w3c.dom">DOCUMENT_FRAGMENT_NODE</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#DOCUMENT_NODE" title="class or interface in org.w3c.dom">DOCUMENT_NODE</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#DOCUMENT_POSITION_CONTAINED_BY" title="class or interface in org.w3c.dom">DOCUMENT_POSITION_CONTAINED_BY</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#DOCUMENT_POSITION_CONTAINS" title="class or interface in org.w3c.dom">DOCUMENT_POSITION_CONTAINS</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#DOCUMENT_POSITION_DISCONNECTED" title="class or interface in org.w3c.dom">DOCUMENT_POSITION_DISCONNECTED</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#DOCUMENT_POSITION_FOLLOWING" title="class or interface in org.w3c.dom">DOCUMENT_POSITION_FOLLOWING</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC" title="class or interface in org.w3c.dom">DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#DOCUMENT_POSITION_PRECEDING" title="class or interface in org.w3c.dom">DOCUMENT_POSITION_PRECEDING</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#DOCUMENT_TYPE_NODE" title="class or interface in org.w3c.dom">DOCUMENT_TYPE_NODE</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#ELEMENT_NODE" title="class or interface in org.w3c.dom">ELEMENT_NODE</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#ENTITY_NODE" title="class or interface in org.w3c.dom">ENTITY_NODE</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#ENTITY_REFERENCE_NODE" title="class or interface in org.w3c.dom">ENTITY_REFERENCE_NODE</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#NOTATION_NODE" title="class or interface in org.w3c.dom">NOTATION_NODE</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#PROCESSING_INSTRUCTION_NODE" title="class or interface in org.w3c.dom">PROCESSING_INSTRUCTION_NODE</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#TEXT_NODE" title="class or interface in org.w3c.dom">TEXT_NODE</a></code></li>
</ul>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</a></code></td>
<td class="colLast"><code><strong><a href="../../../javax/xml/soap/SOAPElement.html#addAttribute(javax.xml.soap.Name,%20java.lang.String)">addAttribute</a></strong>(<a href="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</a>&nbsp;name,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)</code>
<div class="block">Adds an attribute with the specified name and value to this
<code>SOAPElement</code> object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</a></code></td>
<td class="colLast"><code><strong><a href="../../../javax/xml/soap/SOAPElement.html#addChildElement(javax.xml.soap.Name)">addChildElement</a></strong>(<a href="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</a>&nbsp;name)</code>
<div class="block">Creates a new <code>SOAPElement</code> object initialized with the
given <code>Name</code> object and adds the new element to this
<code>SOAPElement</code> object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</a></code></td>
<td class="colLast"><code><strong><a href="../../../javax/xml/soap/SOAPElement.html#addChildElement(javax.xml.soap.SOAPElement)">addChildElement</a></strong>(<a href="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</a>&nbsp;element)</code>
<div class="block">Add a <code>SOAPElement</code> as a child of this
<code>SOAPElement</code> instance.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</a></code></td>
<td class="colLast"><code><strong><a href="../../../javax/xml/soap/SOAPElement.html#addChildElement(java.lang.String)">addChildElement</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;localName)</code>
<div class="block">Creates a new <code>SOAPElement</code> object initialized with the
given <code>String</code> object and adds the new element to this
<code>SOAPElement</code> object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</a></code></td>
<td class="colLast"><code><strong><a href="../../../javax/xml/soap/SOAPElement.html#addChildElement(java.lang.String,%20java.lang.String)">addChildElement</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;localName,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;prefix)</code>
<div class="block">Creates a new <code>SOAPElement</code> object initialized with the
specified local name and prefix and adds the new element to this
<code>SOAPElement</code> object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</a></code></td>
<td class="colLast"><code><strong><a href="../../../javax/xml/soap/SOAPElement.html#addChildElement(java.lang.String,%20java.lang.String,%20java.lang.String)">addChildElement</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;localName,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;prefix,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;uri)</code>
<div class="block">Creates a new <code>SOAPElement</code> object initialized with the
specified local name, prefix, and URI and adds the new element to this
<code>SOAPElement</code> object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</a></code></td>
<td class="colLast"><code><strong><a href="../../../javax/xml/soap/SOAPElement.html#addNamespaceDeclaration(java.lang.String,%20java.lang.String)">addNamespaceDeclaration</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;prefix,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;uri)</code>
<div class="block">Adds a namespace declaration with the specified prefix and URI to this
<code>SOAPElement</code> object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</a></code></td>
<td class="colLast"><code><strong><a href="../../../javax/xml/soap/SOAPElement.html#addTextNode(java.lang.String)">addTextNode</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;text)</code>
<div class="block">Creates a new <code>Text</code> object initialized with the given
<code>String</code> and adds it to this <code>SOAPElement</code> object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a></code></td>
<td class="colLast"><code><strong><a href="../../../javax/xml/soap/SOAPElement.html#getAllAttributes()">getAllAttributes</a></strong>()</code>
<div class="block">Returns an iterator over all of the attribute names in
this <CODE>SOAPElement</CODE> object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../javax/xml/soap/SOAPElement.html#getAttributeValue(javax.xml.soap.Name)">getAttributeValue</a></strong>(<a href="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</a>&nbsp;name)</code>
<div class="block">Returns the value of the attribute with the specified
name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a></code></td>
<td class="colLast"><code><strong><a href="../../../javax/xml/soap/SOAPElement.html#getChildElements()">getChildElements</a></strong>()</code>
<div class="block">Returns an iterator over all the immediate content of
this element.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a></code></td>
<td class="colLast"><code><strong><a href="../../../javax/xml/soap/SOAPElement.html#getChildElements(javax.xml.soap.Name)">getChildElements</a></strong>(<a href="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</a>&nbsp;name)</code>
<div class="block">Returns an iterator over all the child elements with the
specified name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</a></code></td>
<td class="colLast"><code><strong><a href="../../../javax/xml/soap/SOAPElement.html#getElementName()">getElementName</a></strong>()</code>
<div class="block">Returns the name of this <CODE>SOAPElement</CODE>
object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../javax/xml/soap/SOAPElement.html#getEncodingStyle()">getEncodingStyle</a></strong>()</code>
<div class="block">Returns the encoding style for this <CODE>
SOAPElement</CODE> object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a></code></td>
<td class="colLast"><code><strong><a href="../../../javax/xml/soap/SOAPElement.html#getNamespacePrefixes()">getNamespacePrefixes</a></strong>()</code>
<div class="block">Returns an iterator of namespace prefixes.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../javax/xml/soap/SOAPElement.html#getNamespaceURI(java.lang.String)">getNamespaceURI</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;prefix)</code>
<div class="block">Returns the URI of the namespace that has the given
prefix.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a></code></td>
<td class="colLast"><code><strong><a href="../../../javax/xml/soap/SOAPElement.html#getVisibleNamespacePrefixes()">getVisibleNamespacePrefixes</a></strong>()</code>
<div class="block">Returns an <code>Iterator</code> over the namespace prefix
<code>String</code>s visible to this element.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../javax/xml/soap/SOAPElement.html#removeAttribute(javax.xml.soap.Name)">removeAttribute</a></strong>(<a href="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</a>&nbsp;name)</code>
<div class="block">Removes the attribute with the specified name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../javax/xml/soap/SOAPElement.html#removeContents()">removeContents</a></strong>()</code>
<div class="block">Detaches all children of this <code>SOAPElement</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../javax/xml/soap/SOAPElement.html#removeNamespaceDeclaration(java.lang.String)">removeNamespaceDeclaration</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;prefix)</code>
<div class="block">Removes the namespace declaration corresponding to the
given prefix.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../javax/xml/soap/SOAPElement.html#setEncodingStyle(java.lang.String)">setEncodingStyle</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;encodingStyle)</code>
<div class="block">Sets the encoding style for this <CODE>SOAPElement</CODE>
object to one specified.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_javax.xml.soap.Node">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;javax.xml.soap.<a href="../../../javax/xml/soap/Node.html" title="interface in javax.xml.soap">Node</a></h3>
<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></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.w3c.dom.Element">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.w3c.dom.<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a></h3>
<code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true#getAttribute(java.lang.String)" title="class or interface in org.w3c.dom">getAttribute</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true#getAttributeNode(java.lang.String)" title="class or interface in org.w3c.dom">getAttributeNode</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true#getAttributeNodeNS(java.lang.String,%20java.lang.String)" title="class or interface in org.w3c.dom">getAttributeNodeNS</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true#getAttributeNS(java.lang.String,%20java.lang.String)" title="class or interface in org.w3c.dom">getAttributeNS</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true#getElementsByTagName(java.lang.String)" title="class or interface in org.w3c.dom">getElementsByTagName</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true#getElementsByTagNameNS(java.lang.String,%20java.lang.String)" title="class or interface in org.w3c.dom">getElementsByTagNameNS</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true#getSchemaTypeInfo()" title="class or interface in org.w3c.dom">getSchemaTypeInfo</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true#getTagName()" title="class or interface in org.w3c.dom">getTagName</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true#hasAttribute(java.lang.String)" title="class or interface in org.w3c.dom">hasAttribute</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true#hasAttributeNS(java.lang.String,%20java.lang.String)" title="class or interface in org.w3c.dom">hasAttributeNS</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true#removeAttribute(java.lang.String)" title="class or interface in org.w3c.dom">removeAttribute</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true#removeAttributeNode(org.w3c.dom.Attr)" title="class or interface in org.w3c.dom">removeAttributeNode</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true#removeAttributeNS(java.lang.String,%20java.lang.String)" title="class or interface in org.w3c.dom">removeAttributeNS</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true#setAttribute(java.lang.String,%20java.lang.String)" title="class or interface in org.w3c.dom">setAttribute</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true#setAttributeNode(org.w3c.dom.Attr)" title="class or interface in org.w3c.dom">setAttributeNode</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true#setAttributeNodeNS(org.w3c.dom.Attr)" title="class or interface in org.w3c.dom">setAttributeNodeNS</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true#setAttributeNS(java.lang.String,%20java.lang.String,%20java.lang.String)" title="class or interface in org.w3c.dom">setAttributeNS</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true#setIdAttribute(java.lang.String,%20boolean)" title="class or interface in org.w3c.dom">setIdAttribute</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true#setIdAttributeNode(org.w3c.dom.Attr,%20boolean)" title="class or interface in org.w3c.dom">setIdAttributeNode</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true#setIdAttributeNS(java.lang.String,%20java.lang.String,%20boolean)" title="class or interface in org.w3c.dom">setIdAttributeNS</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.w3c.dom.Node">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.w3c.dom.<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a></h3>
<code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#appendChild(org.w3c.dom.Node)" title="class or interface in org.w3c.dom">appendChild</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#cloneNode(boolean)" title="class or interface in org.w3c.dom">cloneNode</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#compareDocumentPosition(org.w3c.dom.Node)" title="class or interface in org.w3c.dom">compareDocumentPosition</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#getAttributes()" title="class or interface in org.w3c.dom">getAttributes</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#getBaseURI()" title="class or interface in org.w3c.dom">getBaseURI</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#getChildNodes()" title="class or interface in org.w3c.dom">getChildNodes</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#getFeature(java.lang.String,%20java.lang.String)" title="class or interface in org.w3c.dom">getFeature</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#getFirstChild()" title="class or interface in org.w3c.dom">getFirstChild</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#getLastChild()" title="class or interface in org.w3c.dom">getLastChild</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#getLocalName()" title="class or interface in org.w3c.dom">getLocalName</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#getNamespaceURI()" title="class or interface in org.w3c.dom">getNamespaceURI</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#getNextSibling()" title="class or interface in org.w3c.dom">getNextSibling</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#getNodeName()" title="class or interface in org.w3c.dom">getNodeName</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#getNodeType()" title="class or interface in org.w3c.dom">getNodeType</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#getNodeValue()" title="class or interface in org.w3c.dom">getNodeValue</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#getOwnerDocument()" title="class or interface in org.w3c.dom">getOwnerDocument</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#getParentNode()" title="class or interface in org.w3c.dom">getParentNode</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#getPrefix()" title="class or interface in org.w3c.dom">getPrefix</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#getPreviousSibling()" title="class or interface in org.w3c.dom">getPreviousSibling</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#getTextContent()" title="class or interface in org.w3c.dom">getTextContent</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#getUserData(java.lang.String)" title="class or interface in org.w3c.dom">getUserData</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#hasAttributes()" title="class or interface in org.w3c.dom">hasAttributes</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#hasChildNodes()" title="class or interface in org.w3c.dom">hasChildNodes</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#insertBefore(org.w3c.dom.Node,%20org.w3c.dom.Node)" title="class or interface in org.w3c.dom">insertBefore</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#isDefaultNamespace(java.lang.String)" title="class or interface in org.w3c.dom">isDefaultNamespace</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#isEqualNode(org.w3c.dom.Node)" title="class or interface in org.w3c.dom">isEqualNode</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#isSameNode(org.w3c.dom.Node)" title="class or interface in org.w3c.dom">isSameNode</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#isSupported(java.lang.String,%20java.lang.String)" title="class or interface in org.w3c.dom">isSupported</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#lookupNamespaceURI(java.lang.String)" title="class or interface in org.w3c.dom">lookupNamespaceURI</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#lookupPrefix(java.lang.String)" title="class or interface in org.w3c.dom">lookupPrefix</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#normalize()" title="class or interface in org.w3c.dom">normalize</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#removeChild(org.w3c.dom.Node)" title="class or interface in org.w3c.dom">removeChild</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#replaceChild(org.w3c.dom.Node,%20org.w3c.dom.Node)" title="class or interface in org.w3c.dom">replaceChild</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#setNodeValue(java.lang.String)" title="class or interface in org.w3c.dom">setNodeValue</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#setPrefix(java.lang.String)" title="class or interface in org.w3c.dom">setPrefix</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#setTextContent(java.lang.String)" title="class or interface in org.w3c.dom">setTextContent</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true#setUserData(java.lang.String,%20java.lang.Object,%20org.w3c.dom.UserDataHandler)" title="class or interface in org.w3c.dom">setUserData</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="addChildElement(javax.xml.soap.Name)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addChildElement</h4>
<pre><a href="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</a>&nbsp;addChildElement(<a href="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</a>&nbsp;name)
throws <a href="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</a></pre>
<div class="block">Creates a new <code>SOAPElement</code> object initialized with the
given <code>Name</code> object and adds the new element to this
<code>SOAPElement</code> object.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - a <code>Name</code> object with the XML name for the
new element</dd>
<dt><span class="strong">Returns:</span></dt><dd>the new <code>SOAPElement</code> object that was created</dd>
<dt><span class="strong">Throws:</span></dt>
<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
<code>SOAPElement</code> object</dd></dl>
</li>
</ul>
<a name="addChildElement(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addChildElement</h4>
<pre><a href="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</a>&nbsp;addChildElement(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;localName)
throws <a href="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</a></pre>
<div class="block">Creates a new <code>SOAPElement</code> object initialized with the
given <code>String</code> object and adds the new element to this
<code>SOAPElement</code> object.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>localName</code> - a <code>String</code> giving the local name for
the element</dd>
<dt><span class="strong">Returns:</span></dt><dd>the new <code>SOAPElement</code> object that was created</dd>
<dt><span class="strong">Throws:</span></dt>
<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
<code>SOAPElement</code> object</dd></dl>
</li>
</ul>
<a name="addChildElement(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addChildElement</h4>
<pre><a href="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</a>&nbsp;addChildElement(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;localName,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;prefix)
throws <a href="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</a></pre>
<div class="block">Creates a new <code>SOAPElement</code> object initialized with the
specified local name and prefix and adds the new element to this
<code>SOAPElement</code> object.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>localName</code> - a <code>String</code> giving the local name for
the new element</dd><dd><code>prefix</code> - a <code>String</code> giving the namespace prefix for
the new element</dd>
<dt><span class="strong">Returns:</span></dt><dd>the new <code>SOAPElement</code> object that was created</dd>
<dt><span class="strong">Throws:</span></dt>
<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
<code>SOAPElement</code> object</dd></dl>
</li>
</ul>
<a name="addChildElement(java.lang.String, java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addChildElement</h4>
<pre><a href="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</a>&nbsp;addChildElement(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;localName,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;prefix,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;uri)
throws <a href="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</a></pre>
<div class="block">Creates a new <code>SOAPElement</code> object initialized with the
specified local name, prefix, and URI and adds the new element to this
<code>SOAPElement</code> object.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>localName</code> - a <code>String</code> giving the local name for
the new element</dd><dd><code>prefix</code> - a <code>String</code> giving the namespace prefix for
the new element</dd><dd><code>uri</code> - a <code>String</code> giving the URI of the namespace
to which the new element belongs</dd>
<dt><span class="strong">Returns:</span></dt><dd>the new <code>SOAPElement</code> object that was created</dd>
<dt><span class="strong">Throws:</span></dt>
<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
<code>SOAPElement</code> object</dd></dl>
</li>
</ul>
<a name="addChildElement(javax.xml.soap.SOAPElement)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addChildElement</h4>
<pre><a href="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</a>&nbsp;addChildElement(<a href="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</a>&nbsp;element)
throws <a href="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</a></pre>
<div class="block">Add a <code>SOAPElement</code> as a child of this
<code>SOAPElement</code> instance. The <code>SOAPElement</code>
is expected to be created by a
<code>SOAPElementFactory</code>. Callers should not rely on the
element instance being added as is into the XML
tree. Implementations could end up copying the content
of the <code>SOAPElement</code> passed into an instance of
a different <code>SOAPElement</code> implementation. For
instance if <code>addChildElement()</code> is called on a
<code>SOAPHeader</code>, <code>element</code> will be copied
into an instance of a <code>SOAPHeaderElement</code>.
<P>The fragment rooted in <code>element</code> is either added
as a whole or not at all, if there was an error.
<P>The fragment rooted in <code>element</code> cannot contain
elements named "Envelope", "Header" or "Body" and in the SOAP
namespace. Any namespace prefixes present in the fragment
should be fully resolved using appropriate namespace
declarations within the fragment itself.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>element</code> - the <code>SOAPElement</code> to be added as a
new child</dd>
<dt><span class="strong">Returns:</span></dt><dd>an instance representing the new SOAP element that was
actually added to the tree.</dd>
<dt><span class="strong">Throws:</span></dt>
<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 this
element as a child</dd></dl>
</li>
</ul>
<a name="addTextNode(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addTextNode</h4>
<pre><a href="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</a>&nbsp;addTextNode(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;text)
throws <a href="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</a></pre>
<div class="block">Creates a new <code>Text</code> object initialized with the given
<code>String</code> and adds it to this <code>SOAPElement</code> object.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - a <code>String</code> object with the textual content to be added</dd>
<dt><span class="strong">Returns:</span></dt><dd>the <code>SOAPElement</code> object into which
the new <code>Text</code> object was inserted</dd>
<dt><span class="strong">Throws:</span></dt>
<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
new <code>Text</code> object</dd></dl>
</li>
</ul>
<a name="addAttribute(javax.xml.soap.Name, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAttribute</h4>
<pre><a href="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</a>&nbsp;addAttribute(<a href="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</a>&nbsp;name,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)
throws <a href="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</a></pre>
<div class="block">Adds an attribute with the specified name and value to this
<code>SOAPElement</code> object.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - a <code>Name</code> object with the name of the attribute</dd><dd><code>value</code> - a <code>String</code> giving the value of the attribute</dd>
<dt><span class="strong">Returns:</span></dt><dd>the <code>SOAPElement</code> object into which the attribute was
inserted</dd>
<dt><span class="strong">Throws:</span></dt>
<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
Attribute</dd></dl>
</li>
</ul>
<a name="addNamespaceDeclaration(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addNamespaceDeclaration</h4>
<pre><a href="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</a>&nbsp;addNamespaceDeclaration(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;prefix,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;uri)
throws <a href="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</a></pre>
<div class="block">Adds a namespace declaration with the specified prefix and URI to this
<code>SOAPElement</code> object.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>prefix</code> - a <code>String</code> giving the prefix of the namespace</dd><dd><code>uri</code> - a <CODE>String</CODE> giving
the prefix of the namespace</dd>
<dt><span class="strong">Returns:</span></dt><dd>the <code>SOAPElement</code> object into which this
namespace declaration was inserted.</dd>
<dt><span class="strong">Throws:</span></dt>
<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
namespace</dd></dl>
</li>
</ul>
<a name="getAttributeValue(javax.xml.soap.Name)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAttributeValue</h4>
<pre><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getAttributeValue(<a href="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</a>&nbsp;name)</pre>
<div class="block">Returns the value of the attribute with the specified
name.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - a <CODE>Name</CODE> object with
the name of the attribute</dd>
<dt><span class="strong">Returns:</span></dt><dd>a <CODE>String</CODE> giving the value of the
specified attribute</dd></dl>
</li>
</ul>
<a name="getAllAttributes()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllAttributes</h4>
<pre><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&nbsp;getAllAttributes()</pre>
<div class="block">Returns an iterator over all of the attribute names in
this <CODE>SOAPElement</CODE> object. The iterator can be
used to get the attribute names, which can then be passed to
the method <CODE>getAttributeValue</CODE> to retrieve the
value of each attribute.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>an iterator over the names of the attributes</dd></dl>
</li>
</ul>
<a name="getNamespaceURI(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNamespaceURI</h4>
<pre><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getNamespaceURI(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;prefix)</pre>
<div class="block">Returns the URI of the namespace that has the given
prefix.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>prefix</code> - a <CODE>String</CODE> giving
the prefix of the namespace for which to search</dd>
<dt><span class="strong">Returns:</span></dt><dd>a <CODE>String</CODE> with the uri of the namespace
that has the given prefix</dd></dl>
</li>
</ul>
<a name="getNamespacePrefixes()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNamespacePrefixes</h4>
<pre><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&nbsp;getNamespacePrefixes()</pre>
<div class="block">Returns an iterator of namespace prefixes. The iterator
can be used to get the namespace prefixes, which can then be
passed to the method <CODE>getNamespaceURI</CODE> to retrieve
the URI of each namespace.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>an iterator over the namespace prefixes in this
<CODE>SOAPElement</CODE> object</dd></dl>
</li>
</ul>
<a name="getElementName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getElementName</h4>
<pre><a href="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</a>&nbsp;getElementName()</pre>
<div class="block">Returns the name of this <CODE>SOAPElement</CODE>
object.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>a <CODE>Name</CODE> object with the name of this
<CODE>SOAPElement</CODE> object</dd></dl>
</li>
</ul>
<a name="removeAttribute(javax.xml.soap.Name)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeAttribute</h4>
<pre>boolean&nbsp;removeAttribute(<a href="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</a>&nbsp;name)</pre>
<div class="block">Removes the attribute with the specified name.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the <CODE>Name</CODE> object with
the name of the attribute to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd><CODE>true</CODE> if the attribute was removed
successfully; <CODE>false</CODE> if it was not</dd></dl>
</li>
</ul>
<a name="removeNamespaceDeclaration(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeNamespaceDeclaration</h4>
<pre>boolean&nbsp;removeNamespaceDeclaration(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;prefix)</pre>
<div class="block">Removes the namespace declaration corresponding to the
given prefix.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>prefix</code> - a <CODE>String</CODE> giving
the prefix for which to search</dd>
<dt><span class="strong">Returns:</span></dt><dd><CODE>true</CODE> if the namespace declaration was
removed successfully; <CODE>false</CODE> if it was
not</dd></dl>
</li>
</ul>
<a name="getChildElements()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChildElements</h4>
<pre><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&nbsp;getChildElements()</pre>
<div class="block">Returns an iterator over all the immediate content of
this element. This includes <CODE>Text</CODE> objects as well
as <CODE>SOAPElement</CODE> objects.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>an iterator with the content of this <CODE>
SOAPElement</CODE> object</dd></dl>
</li>
</ul>
<a name="getChildElements(javax.xml.soap.Name)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChildElements</h4>
<pre><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&nbsp;getChildElements(<a href="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap">Name</a>&nbsp;name)</pre>
<div class="block">Returns an iterator over all the child elements with the
specified name.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - a <CODE>Name</CODE> object with
the name of the child elements to be returned</dd>
<dt><span class="strong">Returns:</span></dt><dd>an <CODE>Iterator</CODE> object over all the elements
in this <CODE>SOAPElement</CODE> object with the
specified name</dd></dl>
</li>
</ul>
<a name="setEncodingStyle(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setEncodingStyle</h4>
<pre>void&nbsp;setEncodingStyle(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;encodingStyle)
throws <a href="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</a></pre>
<div class="block">Sets the encoding style for this <CODE>SOAPElement</CODE>
object to one specified.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>encodingStyle</code> - a <CODE>String</CODE>
giving the encoding style</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if
there was a problem in the encoding style being set.</dd>
<dd><code><a href="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</a></code></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../javax/xml/soap/SOAPElement.html#getEncodingStyle()"><code>getEncodingStyle()</code></a></dd></dl>
</li>
</ul>
<a name="getEncodingStyle()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEncodingStyle</h4>
<pre><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getEncodingStyle()</pre>
<div class="block">Returns the encoding style for this <CODE>
SOAPElement</CODE> object.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>a <CODE>String</CODE> giving the encoding style</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../javax/xml/soap/SOAPElement.html#setEncodingStyle(java.lang.String)"><code>setEncodingStyle(java.lang.String)</code></a></dd></dl>
</li>
</ul>
<a name="removeContents()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeContents</h4>
<pre>void&nbsp;removeContents()</pre>
<div class="block">Detaches all children of this <code>SOAPElement</code>.
<p>
This method is useful for rolling back the construction of partially
completed <code>SOAPHeaders</code> and <code>SOAPBodys</code> in
reparation for sending a fault when an error condition is detected. It is
also useful for recycling portions of a document within a SOAP message.</div>
</li>
</ul>
<a name="getVisibleNamespacePrefixes()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getVisibleNamespacePrefixes</h4>
<pre><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&nbsp;getVisibleNamespacePrefixes()</pre>
<div class="block">Returns an <code>Iterator</code> over the namespace prefix
<code>String</code>s visible to this element. The prefixes returned by
this iterator can be passed to the method <code>getNamespaceURI()</code>
to retrieve the URI of each namespace.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>an iterator over the namespace prefixes are within scope of this
<code>SOAPElement</code> object</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/SOAPElement.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../javax/xml/soap/SOAPConstants.html" title="interface in javax.xml.soap"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../javax/xml/soap/SOAPElementFactory.html" title="class in javax.xml.soap"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?javax/xml/soap/SOAPElement.html" target="_top">Frames</a></li>
<li><a href="SOAPElement.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright © <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p>
</body>
</html>