/Prototipo/Servlet/lib/xstream-distribution-1.4.1-bin/xstream-1.4.1/docs/javadoc/com/thoughtworks/xstream/io/xml/Dom4JXmlWriter.html

http://prototipomemoria.googlecode.com/ · HTML · 424 lines · 358 code · 44 blank · 22 comment · 0 complexity · a0061b238647cb6002f8e6585df082cd MD5 · raw file

  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.6.0_26) on Thu Aug 11 04:40:24 CEST 2011 -->
  6. <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <TITLE>
  8. Dom4JXmlWriter (XStream Core 1.4.1 API)
  9. </TITLE>
  10. <META NAME="date" CONTENT="2011-08-11">
  11. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
  12. <SCRIPT type="text/javascript">
  13. function windowTitle()
  14. {
  15. if (location.href.indexOf('is-external=true') == -1) {
  16. parent.document.title="Dom4JXmlWriter (XStream Core 1.4.1 API)";
  17. }
  18. }
  19. </SCRIPT>
  20. <NOSCRIPT>
  21. </NOSCRIPT>
  22. </HEAD>
  23. <BODY BGCOLOR="white" onload="windowTitle();">
  24. <HR>
  25. <!-- ========= START OF TOP NAVBAR ======= -->
  26. <A NAME="navbar_top"><!-- --></A>
  27. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  28. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  29. <TR>
  30. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  31. <A NAME="navbar_top_firstrow"><!-- --></A>
  32. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  33. <TR ALIGN="center" VALIGN="top">
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  36. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Dom4JXmlWriter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  39. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  40. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  41. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  42. </TR>
  43. </TABLE>
  44. </TD>
  45. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  46. </EM>
  47. </TD>
  48. </TR>
  49. <TR>
  50. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  51. &nbsp;<A HREF="../../../../../com/thoughtworks/xstream/io/xml/Dom4JWriter.html" title="class in com.thoughtworks.xstream.io.xml"><B>PREV CLASS</B></A>&nbsp;
  52. &nbsp;<A HREF="../../../../../com/thoughtworks/xstream/io/xml/DomDriver.html" title="class in com.thoughtworks.xstream.io.xml"><B>NEXT CLASS</B></A></FONT></TD>
  53. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  54. <A HREF="../../../../../index.html?com/thoughtworks/xstream/io/xml/Dom4JXmlWriter.html" target="_top"><B>FRAMES</B></A> &nbsp;
  55. &nbsp;<A HREF="Dom4JXmlWriter.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  56. &nbsp;<SCRIPT type="text/javascript">
  57. <!--
  58. if(window==top) {
  59. document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  60. }
  61. //-->
  62. </SCRIPT>
  63. <NOSCRIPT>
  64. <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  65. </NOSCRIPT>
  66. </FONT></TD>
  67. </TR>
  68. <TR>
  69. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  70. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  71. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  72. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  73. </TR>
  74. </TABLE>
  75. <A NAME="skip-navbar_top"></A>
  76. <!-- ========= END OF TOP NAVBAR ========= -->
  77. <HR>
  78. <!-- ======== START OF CLASS DATA ======== -->
  79. <H2>
  80. <FONT SIZE="-1">
  81. com.thoughtworks.xstream.io.xml</FONT>
  82. <BR>
  83. Class Dom4JXmlWriter</H2>
  84. <PRE>
  85. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
  86. <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../com/thoughtworks/xstream/io/AbstractWriter.html" title="class in com.thoughtworks.xstream.io">com.thoughtworks.xstream.io.AbstractWriter</A>
  87. <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../com/thoughtworks/xstream/io/xml/AbstractXmlWriter.html" title="class in com.thoughtworks.xstream.io.xml">com.thoughtworks.xstream.io.xml.AbstractXmlWriter</A>
  88. <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.thoughtworks.xstream.io.xml.Dom4JXmlWriter</B>
  89. </PRE>
  90. <DL>
  91. <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../com/thoughtworks/xstream/io/ExtendedHierarchicalStreamWriter.html" title="interface in com.thoughtworks.xstream.io">ExtendedHierarchicalStreamWriter</A>, <A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamWriter.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamWriter</A>, <A HREF="../../../../../com/thoughtworks/xstream/io/xml/XmlFriendlyWriter.html" title="interface in com.thoughtworks.xstream.io.xml">XmlFriendlyWriter</A></DD>
  92. </DL>
  93. <HR>
  94. <DL>
  95. <DT><PRE>public class <B>Dom4JXmlWriter</B><DT>extends <A HREF="../../../../../com/thoughtworks/xstream/io/xml/AbstractXmlWriter.html" title="class in com.thoughtworks.xstream.io.xml">AbstractXmlWriter</A></DL>
  96. </PRE>
  97. <P>
  98. <HR>
  99. <P>
  100. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  101. <A NAME="constructor_summary"><!-- --></A>
  102. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  103. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  104. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  105. <B>Constructor Summary</B></FONT></TH>
  106. </TR>
  107. <TR BGCOLOR="white" CLASS="TableRowColor">
  108. <TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/xml/Dom4JXmlWriter.html#Dom4JXmlWriter(org.dom4j.io.XMLWriter)">Dom4JXmlWriter</A></B>(org.dom4j.io.XMLWriter&nbsp;writer)</CODE>
  109. <BR>
  110. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  111. </TR>
  112. <TR BGCOLOR="white" CLASS="TableRowColor">
  113. <TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/xml/Dom4JXmlWriter.html#Dom4JXmlWriter(org.dom4j.io.XMLWriter, com.thoughtworks.xstream.io.naming.NameCoder)">Dom4JXmlWriter</A></B>(org.dom4j.io.XMLWriter&nbsp;writer,
  114. <A HREF="../../../../../com/thoughtworks/xstream/io/naming/NameCoder.html" title="interface in com.thoughtworks.xstream.io.naming">NameCoder</A>&nbsp;nameCoder)</CODE>
  115. <BR>
  116. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  117. </TR>
  118. <TR BGCOLOR="white" CLASS="TableRowColor">
  119. <TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/xml/Dom4JXmlWriter.html#Dom4JXmlWriter(org.dom4j.io.XMLWriter, com.thoughtworks.xstream.io.xml.XmlFriendlyReplacer)">Dom4JXmlWriter</A></B>(org.dom4j.io.XMLWriter&nbsp;writer,
  120. <A HREF="../../../../../com/thoughtworks/xstream/io/xml/XmlFriendlyReplacer.html" title="class in com.thoughtworks.xstream.io.xml">XmlFriendlyReplacer</A>&nbsp;replacer)</CODE>
  121. <BR>
  122. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>As of 1.4 use <A HREF="../../../../../com/thoughtworks/xstream/io/xml/Dom4JXmlWriter.html#Dom4JXmlWriter(org.dom4j.io.XMLWriter, com.thoughtworks.xstream.io.naming.NameCoder)"><CODE>Dom4JXmlWriter(XMLWriter, NameCoder)</CODE></A> instead.</I></TD>
  123. </TR>
  124. </TABLE>
  125. &nbsp;
  126. <!-- ========== METHOD SUMMARY =========== -->
  127. <A NAME="method_summary"><!-- --></A>
  128. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  129. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  130. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  131. <B>Method Summary</B></FONT></TH>
  132. </TR>
  133. <TR BGCOLOR="white" CLASS="TableRowColor">
  134. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  135. <CODE>&nbsp;void</CODE></FONT></TD>
  136. <TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/xml/Dom4JXmlWriter.html#addAttribute(java.lang.String, java.lang.String)">addAttribute</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;key,
  137. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;value)</CODE>
  138. <BR>
  139. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  140. </TR>
  141. <TR BGCOLOR="white" CLASS="TableRowColor">
  142. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  143. <CODE>&nbsp;void</CODE></FONT></TD>
  144. <TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/xml/Dom4JXmlWriter.html#close()">close</A></B>()</CODE>
  145. <BR>
  146. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Close the writer, if necessary.</TD>
  147. </TR>
  148. <TR BGCOLOR="white" CLASS="TableRowColor">
  149. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  150. <CODE>&nbsp;void</CODE></FONT></TD>
  151. <TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/xml/Dom4JXmlWriter.html#endNode()">endNode</A></B>()</CODE>
  152. <BR>
  153. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  154. </TR>
  155. <TR BGCOLOR="white" CLASS="TableRowColor">
  156. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  157. <CODE>&nbsp;void</CODE></FONT></TD>
  158. <TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/xml/Dom4JXmlWriter.html#flush()">flush</A></B>()</CODE>
  159. <BR>
  160. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Flush the writer, if necessary.</TD>
  161. </TR>
  162. <TR BGCOLOR="white" CLASS="TableRowColor">
  163. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  164. <CODE>&nbsp;void</CODE></FONT></TD>
  165. <TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/xml/Dom4JXmlWriter.html#setValue(java.lang.String)">setValue</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;text)</CODE>
  166. <BR>
  167. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write the value (text content) of the current node.</TD>
  168. </TR>
  169. <TR BGCOLOR="white" CLASS="TableRowColor">
  170. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  171. <CODE>&nbsp;void</CODE></FONT></TD>
  172. <TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/xml/Dom4JXmlWriter.html#startNode(java.lang.String)">startNode</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</CODE>
  173. <BR>
  174. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  175. </TR>
  176. </TABLE>
  177. &nbsp;<A NAME="methods_inherited_from_class_com.thoughtworks.xstream.io.xml.AbstractXmlWriter"><!-- --></A>
  178. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  179. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  180. <TH ALIGN="left"><B>Methods inherited from class com.thoughtworks.xstream.io.xml.<A HREF="../../../../../com/thoughtworks/xstream/io/xml/AbstractXmlWriter.html" title="class in com.thoughtworks.xstream.io.xml">AbstractXmlWriter</A></B></TH>
  181. </TR>
  182. <TR BGCOLOR="white" CLASS="TableRowColor">
  183. <TD><CODE><A HREF="../../../../../com/thoughtworks/xstream/io/xml/AbstractXmlWriter.html#escapeXmlName(java.lang.String)">escapeXmlName</A></CODE></TD>
  184. </TR>
  185. </TABLE>
  186. &nbsp;<A NAME="methods_inherited_from_class_com.thoughtworks.xstream.io.AbstractWriter"><!-- --></A>
  187. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  188. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  189. <TH ALIGN="left"><B>Methods inherited from class com.thoughtworks.xstream.io.<A HREF="../../../../../com/thoughtworks/xstream/io/AbstractWriter.html" title="class in com.thoughtworks.xstream.io">AbstractWriter</A></B></TH>
  190. </TR>
  191. <TR BGCOLOR="white" CLASS="TableRowColor">
  192. <TD><CODE><A HREF="../../../../../com/thoughtworks/xstream/io/AbstractWriter.html#encodeAttribute(java.lang.String)">encodeAttribute</A>, <A HREF="../../../../../com/thoughtworks/xstream/io/AbstractWriter.html#encodeNode(java.lang.String)">encodeNode</A>, <A HREF="../../../../../com/thoughtworks/xstream/io/AbstractWriter.html#startNode(java.lang.String, java.lang.Class)">startNode</A>, <A HREF="../../../../../com/thoughtworks/xstream/io/AbstractWriter.html#underlyingWriter()">underlyingWriter</A></CODE></TD>
  193. </TR>
  194. </TABLE>
  195. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  196. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  197. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  198. <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
  199. </TR>
  200. <TR BGCOLOR="white" CLASS="TableRowColor">
  201. <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
  202. </TR>
  203. </TABLE>
  204. &nbsp;
  205. <P>
  206. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  207. <A NAME="constructor_detail"><!-- --></A>
  208. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  209. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  210. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  211. <B>Constructor Detail</B></FONT></TH>
  212. </TR>
  213. </TABLE>
  214. <A NAME="Dom4JXmlWriter(org.dom4j.io.XMLWriter)"><!-- --></A><H3>
  215. Dom4JXmlWriter</H3>
  216. <PRE>
  217. public <B>Dom4JXmlWriter</B>(org.dom4j.io.XMLWriter&nbsp;writer)</PRE>
  218. <DL>
  219. </DL>
  220. <HR>
  221. <A NAME="Dom4JXmlWriter(org.dom4j.io.XMLWriter, com.thoughtworks.xstream.io.naming.NameCoder)"><!-- --></A><H3>
  222. Dom4JXmlWriter</H3>
  223. <PRE>
  224. public <B>Dom4JXmlWriter</B>(org.dom4j.io.XMLWriter&nbsp;writer,
  225. <A HREF="../../../../../com/thoughtworks/xstream/io/naming/NameCoder.html" title="interface in com.thoughtworks.xstream.io.naming">NameCoder</A>&nbsp;nameCoder)</PRE>
  226. <DL>
  227. <DL>
  228. <DT><B>Since:</B></DT>
  229. <DD>1.4</DD>
  230. </DL>
  231. </DL>
  232. <HR>
  233. <A NAME="Dom4JXmlWriter(org.dom4j.io.XMLWriter, com.thoughtworks.xstream.io.xml.XmlFriendlyReplacer)"><!-- --></A><H3>
  234. Dom4JXmlWriter</H3>
  235. <PRE>
  236. public <B>Dom4JXmlWriter</B>(org.dom4j.io.XMLWriter&nbsp;writer,
  237. <A HREF="../../../../../com/thoughtworks/xstream/io/xml/XmlFriendlyReplacer.html" title="class in com.thoughtworks.xstream.io.xml">XmlFriendlyReplacer</A>&nbsp;replacer)</PRE>
  238. <DL>
  239. <DD><B>Deprecated.</B>&nbsp;<I>As of 1.4 use <A HREF="../../../../../com/thoughtworks/xstream/io/xml/Dom4JXmlWriter.html#Dom4JXmlWriter(org.dom4j.io.XMLWriter, com.thoughtworks.xstream.io.naming.NameCoder)"><CODE>Dom4JXmlWriter(XMLWriter, NameCoder)</CODE></A> instead.</I>
  240. <P>
  241. <DL>
  242. <DT><B>Since:</B></DT>
  243. <DD>1.2</DD>
  244. </DL>
  245. </DL>
  246. <!-- ============ METHOD DETAIL ========== -->
  247. <A NAME="method_detail"><!-- --></A>
  248. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  249. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  250. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  251. <B>Method Detail</B></FONT></TH>
  252. </TR>
  253. </TABLE>
  254. <A NAME="startNode(java.lang.String)"><!-- --></A><H3>
  255. startNode</H3>
  256. <PRE>
  257. public void <B>startNode</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</PRE>
  258. <DL>
  259. <DD><DL>
  260. </DL>
  261. </DD>
  262. </DL>
  263. <HR>
  264. <A NAME="setValue(java.lang.String)"><!-- --></A><H3>
  265. setValue</H3>
  266. <PRE>
  267. public void <B>setValue</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;text)</PRE>
  268. <DL>
  269. <DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamWriter.html#setValue(java.lang.String)">HierarchicalStreamWriter</A></CODE></B></DD>
  270. <DD>Write the value (text content) of the current node.
  271. <P>
  272. <DD><DL>
  273. </DL>
  274. </DD>
  275. </DL>
  276. <HR>
  277. <A NAME="addAttribute(java.lang.String, java.lang.String)"><!-- --></A><H3>
  278. addAttribute</H3>
  279. <PRE>
  280. public void <B>addAttribute</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;key,
  281. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;value)</PRE>
  282. <DL>
  283. <DD><DL>
  284. </DL>
  285. </DD>
  286. </DL>
  287. <HR>
  288. <A NAME="endNode()"><!-- --></A><H3>
  289. endNode</H3>
  290. <PRE>
  291. public void <B>endNode</B>()</PRE>
  292. <DL>
  293. <DD><DL>
  294. </DL>
  295. </DD>
  296. </DL>
  297. <HR>
  298. <A NAME="flush()"><!-- --></A><H3>
  299. flush</H3>
  300. <PRE>
  301. public void <B>flush</B>()</PRE>
  302. <DL>
  303. <DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamWriter.html#flush()">HierarchicalStreamWriter</A></CODE></B></DD>
  304. <DD>Flush the writer, if necessary.
  305. <P>
  306. <DD><DL>
  307. </DL>
  308. </DD>
  309. </DL>
  310. <HR>
  311. <A NAME="close()"><!-- --></A><H3>
  312. close</H3>
  313. <PRE>
  314. public void <B>close</B>()</PRE>
  315. <DL>
  316. <DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamWriter.html#close()">HierarchicalStreamWriter</A></CODE></B></DD>
  317. <DD>Close the writer, if necessary.
  318. <P>
  319. <DD><DL>
  320. </DL>
  321. </DD>
  322. </DL>
  323. <!-- ========= END OF CLASS DATA ========= -->
  324. <HR>
  325. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  326. <A NAME="navbar_bottom"><!-- --></A>
  327. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  328. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  329. <TR>
  330. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  331. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  332. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  333. <TR ALIGN="center" VALIGN="top">
  334. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  335. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  336. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  337. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Dom4JXmlWriter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  338. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  339. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  340. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  341. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  342. </TR>
  343. </TABLE>
  344. </TD>
  345. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  346. </EM>
  347. </TD>
  348. </TR>
  349. <TR>
  350. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  351. &nbsp;<A HREF="../../../../../com/thoughtworks/xstream/io/xml/Dom4JWriter.html" title="class in com.thoughtworks.xstream.io.xml"><B>PREV CLASS</B></A>&nbsp;
  352. &nbsp;<A HREF="../../../../../com/thoughtworks/xstream/io/xml/DomDriver.html" title="class in com.thoughtworks.xstream.io.xml"><B>NEXT CLASS</B></A></FONT></TD>
  353. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  354. <A HREF="../../../../../index.html?com/thoughtworks/xstream/io/xml/Dom4JXmlWriter.html" target="_top"><B>FRAMES</B></A> &nbsp;
  355. &nbsp;<A HREF="Dom4JXmlWriter.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  356. &nbsp;<SCRIPT type="text/javascript">
  357. <!--
  358. if(window==top) {
  359. document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  360. }
  361. //-->
  362. </SCRIPT>
  363. <NOSCRIPT>
  364. <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  365. </NOSCRIPT>
  366. </FONT></TD>
  367. </TR>
  368. <TR>
  369. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  370. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  371. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  372. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  373. </TR>
  374. </TABLE>
  375. <A NAME="skip-navbar_bottom"></A>
  376. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  377. <HR>
  378. Copyright &#169; 2004-2011 <a href="http://xstream.codehaus.org">XStream</a>. All Rights Reserved.
  379. </BODY>
  380. </HTML>