| 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 |
Node (Axis API) |
| 8 |
</TITLE> |
| 9 |
|
| 10 |
<META NAME="keywords" CONTENT="javax.xml.soap.Node interface"> |
| 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="Node (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/Node.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/Name.html" title="interface in javax.xml.soap"><B>PREV CLASS</B></A> |
| 54 |
<A HREF="../../../javax/xml/soap/SOAPBody.html" title="interface 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="Node.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 | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 74 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 75 |
DETAIL: FIELD | CONSTR | <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 |
Interface Node</H2> |
| 88 |
<DL> |
| 89 |
<DT><B>All Superinterfaces:</B> <DD>org.w3c.dom.Node</DD> |
| 90 |
</DL> |
| 91 |
<DL> |
| 92 |
<DT><B>All Known Subinterfaces:</B> <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/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</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>, <A HREF="../../../javax/xml/soap/Text.html" title="interface in javax.xml.soap">Text</A></DD> |
| 93 |
</DL> |
| 94 |
<DL> |
| 95 |
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../org/apache/axis/message/CommentImpl.html" title="class in org.apache.axis.message">CommentImpl</A>, <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/MessageElement.html" title="class in org.apache.axis.message">MessageElement</A>, <A HREF="../../../org/apache/axis/message/NodeImpl.html" title="class in org.apache.axis.message">NodeImpl</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>, <A HREF="../../../org/apache/axis/message/Text.html" title="class in org.apache.axis.message">Text</A></DD> |
| 96 |
</DL> |
| 97 |
<HR> |
| 98 |
<DL> |
| 99 |
<DT>public interface <B>Node</B><DT>extends org.w3c.dom.Node</DL> |
| 100 |
|
| 101 |
<P> |
| 102 |
A representation of a node (element) in a DOM representation of an XML document |
| 103 |
that provides some tree manipulation methods. |
| 104 |
This interface provides methods for getting the value of a node, for |
| 105 |
getting and setting the parent of a node, and for removing a node. |
| 106 |
<P> |
| 107 |
|
| 108 |
<P> |
| 109 |
<HR> |
| 110 |
|
| 111 |
<P> |
| 112 |
<!-- ======== NESTED CLASS SUMMARY ======== --> |
| 113 |
|
| 114 |
|
| 115 |
<!-- =========== FIELD SUMMARY =========== --> |
| 116 |
|
| 117 |
<A NAME="field_summary"><!-- --></A> |
| 118 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 119 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 120 |
<TD COLSPAN=2><FONT SIZE="+2"> |
| 121 |
<B>Field Summary</B></FONT></TD> |
| 122 |
</TR> |
| 123 |
</TABLE> |
| 124 |
<A NAME="fields_inherited_from_class_org.w3c.dom.Node"><!-- --></A> |
| 125 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 126 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| 127 |
<TD><B>Fields inherited from interface org.w3c.dom.Node</B></TD> |
| 128 |
</TR> |
| 129 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 130 |
<TD><CODE>ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE</CODE></TD> |
| 131 |
</TR> |
| 132 |
</TABLE> |
| 133 |
|
| 134 |
<!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| 135 |
|
| 136 |
|
| 137 |
<!-- ========== METHOD SUMMARY =========== --> |
| 138 |
|
| 139 |
<A NAME="method_summary"><!-- --></A> |
| 140 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 141 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 142 |
<TD COLSPAN=2><FONT SIZE="+2"> |
| 143 |
<B>Method Summary</B></FONT></TD> |
| 144 |
</TR> |
| 145 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 146 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 147 |
<CODE> void</CODE></FONT></TD> |
| 148 |
<TD><CODE><B><A HREF="../../../javax/xml/soap/Node.html#detachNode()">detachNode</A></B>()</CODE> |
| 149 |
|
| 150 |
<BR> |
| 151 |
Removes this <code>Node</code> object from the tree.</TD> |
| 152 |
</TR> |
| 153 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 154 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 155 |
<CODE> <A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A></CODE></FONT></TD> |
| 156 |
<TD><CODE><B><A HREF="../../../javax/xml/soap/Node.html#getParentElement()">getParentElement</A></B>()</CODE> |
| 157 |
|
| 158 |
<BR> |
| 159 |
Returns the parent element of this <code>Node</code> object.</TD> |
| 160 |
</TR> |
| 161 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 162 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 163 |
<CODE> java.lang.String</CODE></FONT></TD> |
| 164 |
<TD><CODE><B><A HREF="../../../javax/xml/soap/Node.html#getValue()">getValue</A></B>()</CODE> |
| 165 |
|
| 166 |
<BR> |
| 167 |
Returns the the value of the immediate child of this <code>Node</code> |
| 168 |
object if a child exists and its value is text.</TD> |
| 169 |
</TR> |
| 170 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 171 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 172 |
<CODE> void</CODE></FONT></TD> |
| 173 |
<TD><CODE><B><A HREF="../../../javax/xml/soap/Node.html#recycleNode()">recycleNode</A></B>()</CODE> |
| 174 |
|
| 175 |
<BR> |
| 176 |
Notifies the implementation that this <code>Node</code> |
| 177 |
object is no longer being used by the application and that the |
| 178 |
implementation is free to reuse this object for nodes that may |
| 179 |
be created later.</TD> |
| 180 |
</TR> |
| 181 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 182 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 183 |
<CODE> void</CODE></FONT></TD> |
| 184 |
<TD><CODE><B><A HREF="../../../javax/xml/soap/Node.html#setParentElement(javax.xml.soap.SOAPElement)">setParentElement</A></B>(<A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A> parent)</CODE> |
| 185 |
|
| 186 |
<BR> |
| 187 |
Sets the parent of this <code>Node</code> object to the given |
| 188 |
<code>SOAPElement</code> object.</TD> |
| 189 |
</TR> |
| 190 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 191 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 192 |
<CODE> void</CODE></FONT></TD> |
| 193 |
<TD><CODE><B><A HREF="../../../javax/xml/soap/Node.html#setValue(java.lang.String)">setValue</A></B>(java.lang.String value)</CODE> |
| 194 |
|
| 195 |
<BR> |
| 196 |
If this is a Text node then this method will set its value, otherwise it |
| 197 |
sets the value of the immediate (Text) child of this node.</TD> |
| 198 |
</TR> |
| 199 |
</TABLE> |
| 200 |
<A NAME="methods_inherited_from_class_org.w3c.dom.Node"><!-- --></A> |
| 201 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 202 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| 203 |
<TD><B>Methods inherited from interface org.w3c.dom.Node</B></TD> |
| 204 |
</TR> |
| 205 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 206 |
<TD><CODE>appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix</CODE></TD> |
| 207 |
</TR> |
| 208 |
</TABLE> |
| 209 |
|
| 210 |
<P> |
| 211 |
|
| 212 |
<!-- ============ FIELD DETAIL =========== --> |
| 213 |
|
| 214 |
|
| 215 |
<!-- ========= CONSTRUCTOR DETAIL ======== --> |
| 216 |
|
| 217 |
|
| 218 |
<!-- ============ METHOD DETAIL ========== --> |
| 219 |
|
| 220 |
<A NAME="method_detail"><!-- --></A> |
| 221 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 222 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 223 |
<TD COLSPAN=1><FONT SIZE="+2"> |
| 224 |
<B>Method Detail</B></FONT></TD> |
| 225 |
</TR> |
| 226 |
</TABLE> |
| 227 |
|
| 228 |
<A NAME="getValue()"><!-- --></A><H3> |
| 229 |
getValue</H3> |
| 230 |
<PRE> |
| 231 |
public java.lang.String <B>getValue</B>()</PRE> |
| 232 |
<DL> |
| 233 |
<DD>Returns the the value of the immediate child of this <code>Node</code> |
| 234 |
object if a child exists and its value is text. |
| 235 |
<P> |
| 236 |
<DD><DL> |
| 237 |
</DL> |
| 238 |
</DD> |
| 239 |
<DD><DL> |
| 240 |
|
| 241 |
<DT><B>Returns:</B><DD>a <code>String</code> with the text of the immediate child of |
| 242 |
this <code>Node</code> object if (1) there is a child and |
| 243 |
(2) the child is a <code>Text</code> object; |
| 244 |
<code>null</code> otherwise</DL> |
| 245 |
</DD> |
| 246 |
</DL> |
| 247 |
<HR> |
| 248 |
|
| 249 |
<A NAME="setParentElement(javax.xml.soap.SOAPElement)"><!-- --></A><H3> |
| 250 |
setParentElement</H3> |
| 251 |
<PRE> |
| 252 |
public void <B>setParentElement</B>(<A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A> parent) |
| 253 |
throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE> |
| 254 |
<DL> |
| 255 |
<DD>Sets the parent of this <code>Node</code> object to the given |
| 256 |
<code>SOAPElement</code> object. |
| 257 |
<P> |
| 258 |
<DD><DL> |
| 259 |
</DL> |
| 260 |
</DD> |
| 261 |
<DD><DL> |
| 262 |
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - the <code>SOAPElement</code> object to be set as |
| 263 |
the parent of this <code>Node</code> object |
| 264 |
<DT><B>Throws:</B> |
| 265 |
<DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if there is a problem in setting the |
| 266 |
parent to the given element<DT><B>See Also:</B><DD><A HREF="../../../javax/xml/soap/Node.html#getParentElement()"><CODE>getParentElement()</CODE></A></DL> |
| 267 |
</DD> |
| 268 |
</DL> |
| 269 |
<HR> |
| 270 |
|
| 271 |
<A NAME="getParentElement()"><!-- --></A><H3> |
| 272 |
getParentElement</H3> |
| 273 |
<PRE> |
| 274 |
public <A HREF="../../../javax/xml/soap/SOAPElement.html" title="interface in javax.xml.soap">SOAPElement</A> <B>getParentElement</B>()</PRE> |
| 275 |
<DL> |
| 276 |
<DD>Returns the parent element of this <code>Node</code> object. |
| 277 |
This method can throw an <code>UnsupportedOperationException</code> |
| 278 |
if the tree is not kept in memory. |
| 279 |
<P> |
| 280 |
<DD><DL> |
| 281 |
</DL> |
| 282 |
</DD> |
| 283 |
<DD><DL> |
| 284 |
|
| 285 |
<DT><B>Returns:</B><DD>the <code>SOAPElement</code> object that is the parent of |
| 286 |
this <code>Node</code> object or <code>null</code> if this |
| 287 |
<code>Node</code> object is root |
| 288 |
<DT><B>Throws:</B> |
| 289 |
<DD><CODE>java.lang.UnsupportedOperationException</CODE> - if the whole tree is not kept in memory<DT><B>See Also:</B><DD><A HREF="../../../javax/xml/soap/Node.html#setParentElement(javax.xml.soap.SOAPElement)"><CODE>setParentElement(javax.xml.soap.SOAPElement)</CODE></A></DL> |
| 290 |
</DD> |
| 291 |
</DL> |
| 292 |
<HR> |
| 293 |
|
| 294 |
<A NAME="detachNode()"><!-- --></A><H3> |
| 295 |
detachNode</H3> |
| 296 |
<PRE> |
| 297 |
public void <B>detachNode</B>()</PRE> |
| 298 |
<DL> |
| 299 |
<DD>Removes this <code>Node</code> object from the tree. Once |
| 300 |
removed, this node can be garbage collected if there are no |
| 301 |
application references to it. |
| 302 |
<P> |
| 303 |
<DD><DL> |
| 304 |
</DL> |
| 305 |
</DD> |
| 306 |
<DD><DL> |
| 307 |
</DL> |
| 308 |
</DD> |
| 309 |
</DL> |
| 310 |
<HR> |
| 311 |
|
| 312 |
<A NAME="recycleNode()"><!-- --></A><H3> |
| 313 |
recycleNode</H3> |
| 314 |
<PRE> |
| 315 |
public void <B>recycleNode</B>()</PRE> |
| 316 |
<DL> |
| 317 |
<DD>Notifies the implementation that this <code>Node</code> |
| 318 |
object is no longer being used by the application and that the |
| 319 |
implementation is free to reuse this object for nodes that may |
| 320 |
be created later. |
| 321 |
<P> |
| 322 |
Calling the method <code>recycleNode</code> implies that the method |
| 323 |
<code>detachNode</code> has been called previously. |
| 324 |
<P> |
| 325 |
<DD><DL> |
| 326 |
</DL> |
| 327 |
</DD> |
| 328 |
<DD><DL> |
| 329 |
</DL> |
| 330 |
</DD> |
| 331 |
</DL> |
| 332 |
<HR> |
| 333 |
|
| 334 |
<A NAME="setValue(java.lang.String)"><!-- --></A><H3> |
| 335 |
setValue</H3> |
| 336 |
<PRE> |
| 337 |
public void <B>setValue</B>(java.lang.String value)</PRE> |
| 338 |
<DL> |
| 339 |
<DD>If this is a Text node then this method will set its value, otherwise it |
| 340 |
sets the value of the immediate (Text) child of this node. The value of |
| 341 |
the immediate child of this node can be set only if, there is one child |
| 342 |
node and that node is a Text node, or if there are no children in which |
| 343 |
case a child Text node will be created. |
| 344 |
<P> |
| 345 |
<DD><DL> |
| 346 |
</DL> |
| 347 |
</DD> |
| 348 |
<DD><DL> |
| 349 |
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the text to set |
| 350 |
<DT><B>Throws:</B> |
| 351 |
<DD><CODE>java.lang.IllegalStateException</CODE> - if the node is not a Text node and |
| 352 |
either has more than one child node or has a child node that |
| 353 |
is not a Text node</DL> |
| 354 |
</DD> |
| 355 |
</DL> |
| 356 |
<!-- ========= END OF CLASS DATA ========= --> |
| 357 |
<HR> |
| 358 |
|
| 359 |
|
| 360 |
<!-- ======= START OF BOTTOM NAVBAR ====== --> |
| 361 |
<A NAME="navbar_bottom"><!-- --></A> |
| 362 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| 363 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 364 |
<TR> |
| 365 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 366 |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
| 367 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 368 |
<TR ALIGN="center" VALIGN="top"> |
| 369 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| 370 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 371 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 372 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Node.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 373 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 374 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 375 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 376 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| 377 |
</TR> |
| 378 |
</TABLE> |
| 379 |
</TD> |
| 380 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 381 |
</EM> |
| 382 |
</TD> |
| 383 |
</TR> |
| 384 |
|
| 385 |
<TR> |
| 386 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 387 |
<A HREF="../../../javax/xml/soap/Name.html" title="interface in javax.xml.soap"><B>PREV CLASS</B></A> |
| 388 |
<A HREF="../../../javax/xml/soap/SOAPBody.html" title="interface in javax.xml.soap"><B>NEXT CLASS</B></A></FONT></TD> |
| 389 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 390 |
<A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> |
| 391 |
<A HREF="Node.html" target="_top"><B>NO FRAMES</B></A> |
| 392 |
<SCRIPT type="text/javascript"> |
| 393 |
<!-- |
| 394 |
if(window==top) { |
| 395 |
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 396 |
} |
| 397 |
//--> |
| 398 |
</SCRIPT> |
| 399 |
<NOSCRIPT> |
| 400 |
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
| 401 |
</NOSCRIPT> |
| 402 |
|
| 403 |
</FONT></TD> |
| 404 |
</TR> |
| 405 |
<TR> |
| 406 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 407 |
SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 408 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 409 |
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 410 |
</TR> |
| 411 |
</TABLE> |
| 412 |
<A NAME="skip-navbar_bottom"></A> |
| 413 |
<!-- ======== END OF BOTTOM NAVBAR ======= --> |
| 414 |
|
| 415 |
<HR> |
| 416 |
Copyright © 2005 Apache Web Services Project. All Rights Reserved. |
| 417 |
</BODY> |
| 418 |
</HTML> |