PageRenderTime 42ms CodeModel.GetById 16ms app.highlight 19ms RepoModel.GetById 2ms app.codeStats 0ms

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

http://prototipomemoria.googlecode.com/
HTML | 524 lines | 450 code | 52 blank | 22 comment | 0 complexity | 557acf6d0f5f8199971736f4ab036d47 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>
  8JDomWriter (XStream Core 1.4.1 API)
  9</TITLE>
 10
 11<META NAME="date" CONTENT="2011-08-11">
 12
 13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
 14
 15<SCRIPT type="text/javascript">
 16function windowTitle()
 17{
 18    if (location.href.indexOf('is-external=true') == -1) {
 19        parent.document.title="JDomWriter (XStream Core 1.4.1 API)";
 20    }
 21}
 22</SCRIPT>
 23<NOSCRIPT>
 24</NOSCRIPT>
 25
 26</HEAD>
 27
 28<BODY BGCOLOR="white" onload="windowTitle();">
 29<HR>
 30
 31
 32<!-- ========= START OF TOP NAVBAR ======= -->
 33<A NAME="navbar_top"><!-- --></A>
 34<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 36<TR>
 37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 38<A NAME="navbar_top_firstrow"><!-- --></A>
 39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 40  <TR ALIGN="center" VALIGN="top">
 41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 42  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 43  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/JDomWriter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 48  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 49  </TR>
 50</TABLE>
 51</TD>
 52<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 53</EM>
 54</TD>
 55</TR>
 56
 57<TR>
 58<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 59&nbsp;<A HREF="../../../../../com/thoughtworks/xstream/io/xml/JDomReader.html" title="class in com.thoughtworks.xstream.io.xml"><B>PREV CLASS</B></A>&nbsp;
 60&nbsp;<A HREF="../../../../../com/thoughtworks/xstream/io/xml/KXml2DomDriver.html" title="class in com.thoughtworks.xstream.io.xml"><B>NEXT CLASS</B></A></FONT></TD>
 61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 62  <A HREF="../../../../../index.html?com/thoughtworks/xstream/io/xml/JDomWriter.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 63&nbsp;<A HREF="JDomWriter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 64&nbsp;<SCRIPT type="text/javascript">
 65  <!--
 66  if(window==top) {
 67    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
 68  }
 69  //-->
 70</SCRIPT>
 71<NOSCRIPT>
 72  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
 73</NOSCRIPT>
 74
 75
 76</FONT></TD>
 77</TR>
 78<TR>
 79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 80  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 81<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 82DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 83</TR>
 84</TABLE>
 85<A NAME="skip-navbar_top"></A>
 86<!-- ========= END OF TOP NAVBAR ========= -->
 87
 88<HR>
 89<!-- ======== START OF CLASS DATA ======== -->
 90<H2>
 91<FONT SIZE="-1">
 92com.thoughtworks.xstream.io.xml</FONT>
 93<BR>
 94Class JDomWriter</H2>
 95<PRE>
 96<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>
 97  <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>
 98      <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>
 99          <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../com/thoughtworks/xstream/io/xml/AbstractDocumentWriter.html" title="class in com.thoughtworks.xstream.io.xml">com.thoughtworks.xstream.io.xml.AbstractDocumentWriter</A>
100              <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.thoughtworks.xstream.io.xml.JDomWriter</B>
101</PRE>
102<DL>
103<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/DocumentWriter.html" title="interface in com.thoughtworks.xstream.io.xml">DocumentWriter</A>, <A HREF="../../../../../com/thoughtworks/xstream/io/xml/XmlFriendlyWriter.html" title="interface in com.thoughtworks.xstream.io.xml">XmlFriendlyWriter</A></DD>
104</DL>
105<HR>
106<DL>
107<DT><PRE>public class <B>JDomWriter</B><DT>extends <A HREF="../../../../../com/thoughtworks/xstream/io/xml/AbstractDocumentWriter.html" title="class in com.thoughtworks.xstream.io.xml">AbstractDocumentWriter</A></DL>
108</PRE>
109
110<P>
111<DL>
112<DT><B>Author:</B></DT>
113  <DD>Laurent Bihanic</DD>
114</DL>
115<HR>
116
117<P>
118
119<!-- ======== CONSTRUCTOR SUMMARY ======== -->
120
121<A NAME="constructor_summary"><!-- --></A>
122<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
123<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
124<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
125<B>Constructor Summary</B></FONT></TH>
126</TR>
127<TR BGCOLOR="white" CLASS="TableRowColor">
128<TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/xml/JDomWriter.html#JDomWriter()">JDomWriter</A></B>()</CODE>
129
130<BR>
131&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
132</TR>
133<TR BGCOLOR="white" CLASS="TableRowColor">
134<TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/xml/JDomWriter.html#JDomWriter(org.jdom.Element)">JDomWriter</A></B>(org.jdom.Element&nbsp;container)</CODE>
135
136<BR>
137&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
138</TR>
139<TR BGCOLOR="white" CLASS="TableRowColor">
140<TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/xml/JDomWriter.html#JDomWriter(org.jdom.Element, org.jdom.JDOMFactory)">JDomWriter</A></B>(org.jdom.Element&nbsp;container,
141           org.jdom.JDOMFactory&nbsp;factory)</CODE>
142
143<BR>
144&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
145</TR>
146<TR BGCOLOR="white" CLASS="TableRowColor">
147<TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/xml/JDomWriter.html#JDomWriter(org.jdom.Element, org.jdom.JDOMFactory, com.thoughtworks.xstream.io.naming.NameCoder)">JDomWriter</A></B>(org.jdom.Element&nbsp;container,
148           org.jdom.JDOMFactory&nbsp;factory,
149           <A HREF="../../../../../com/thoughtworks/xstream/io/naming/NameCoder.html" title="interface in com.thoughtworks.xstream.io.naming">NameCoder</A>&nbsp;nameCoder)</CODE>
150
151<BR>
152&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
153</TR>
154<TR BGCOLOR="white" CLASS="TableRowColor">
155<TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/xml/JDomWriter.html#JDomWriter(org.jdom.Element, org.jdom.JDOMFactory, com.thoughtworks.xstream.io.xml.XmlFriendlyReplacer)">JDomWriter</A></B>(org.jdom.Element&nbsp;container,
156           org.jdom.JDOMFactory&nbsp;factory,
157           <A HREF="../../../../../com/thoughtworks/xstream/io/xml/XmlFriendlyReplacer.html" title="class in com.thoughtworks.xstream.io.xml">XmlFriendlyReplacer</A>&nbsp;replacer)</CODE>
158
159<BR>
160&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/JDomWriter.html#JDomWriter(org.jdom.Element, org.jdom.JDOMFactory, com.thoughtworks.xstream.io.naming.NameCoder)"><CODE>JDomWriter(Element, JDOMFactory, NameCoder)</CODE></A> instead.</I></TD>
161</TR>
162<TR BGCOLOR="white" CLASS="TableRowColor">
163<TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/xml/JDomWriter.html#JDomWriter(org.jdom.Element, com.thoughtworks.xstream.io.naming.NameCoder)">JDomWriter</A></B>(org.jdom.Element&nbsp;container,
164           <A HREF="../../../../../com/thoughtworks/xstream/io/naming/NameCoder.html" title="interface in com.thoughtworks.xstream.io.naming">NameCoder</A>&nbsp;nameCoder)</CODE>
165
166<BR>
167&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
168</TR>
169<TR BGCOLOR="white" CLASS="TableRowColor">
170<TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/xml/JDomWriter.html#JDomWriter(org.jdom.Element, com.thoughtworks.xstream.io.xml.XmlFriendlyReplacer)">JDomWriter</A></B>(org.jdom.Element&nbsp;container,
171           <A HREF="../../../../../com/thoughtworks/xstream/io/xml/XmlFriendlyReplacer.html" title="class in com.thoughtworks.xstream.io.xml">XmlFriendlyReplacer</A>&nbsp;replacer)</CODE>
172
173<BR>
174&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/JDomWriter.html#JDomWriter(org.jdom.Element, com.thoughtworks.xstream.io.naming.NameCoder)"><CODE>JDomWriter(Element, NameCoder)</CODE></A> instead.</I></TD>
175</TR>
176<TR BGCOLOR="white" CLASS="TableRowColor">
177<TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/xml/JDomWriter.html#JDomWriter(org.jdom.JDOMFactory)">JDomWriter</A></B>(org.jdom.JDOMFactory&nbsp;factory)</CODE>
178
179<BR>
180&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
181</TR>
182<TR BGCOLOR="white" CLASS="TableRowColor">
183<TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/xml/JDomWriter.html#JDomWriter(org.jdom.JDOMFactory, com.thoughtworks.xstream.io.naming.NameCoder)">JDomWriter</A></B>(org.jdom.JDOMFactory&nbsp;factory,
184           <A HREF="../../../../../com/thoughtworks/xstream/io/naming/NameCoder.html" title="interface in com.thoughtworks.xstream.io.naming">NameCoder</A>&nbsp;nameCoder)</CODE>
185
186<BR>
187&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
188</TR>
189<TR BGCOLOR="white" CLASS="TableRowColor">
190<TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/xml/JDomWriter.html#JDomWriter(org.jdom.JDOMFactory, com.thoughtworks.xstream.io.xml.XmlFriendlyReplacer)">JDomWriter</A></B>(org.jdom.JDOMFactory&nbsp;factory,
191           <A HREF="../../../../../com/thoughtworks/xstream/io/xml/XmlFriendlyReplacer.html" title="class in com.thoughtworks.xstream.io.xml">XmlFriendlyReplacer</A>&nbsp;replacer)</CODE>
192
193<BR>
194&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/JDomWriter.html#JDomWriter(org.jdom.JDOMFactory, com.thoughtworks.xstream.io.naming.NameCoder)"><CODE>JDomWriter(JDOMFactory, NameCoder)</CODE></A> instead.</I></TD>
195</TR>
196</TABLE>
197&nbsp;
198<!-- ========== METHOD SUMMARY =========== -->
199
200<A NAME="method_summary"><!-- --></A>
201<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
202<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
203<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
204<B>Method Summary</B></FONT></TH>
205</TR>
206<TR BGCOLOR="white" CLASS="TableRowColor">
207<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
208<CODE>&nbsp;void</CODE></FONT></TD>
209<TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/xml/JDomWriter.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,
210             <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>
211
212<BR>
213&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
214</TR>
215<TR BGCOLOR="white" CLASS="TableRowColor">
216<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
217<CODE>protected &nbsp;<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></CODE></FONT></TD>
218<TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/xml/JDomWriter.html#createNode(java.lang.String)">createNode</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>
219
220<BR>
221&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a node.</TD>
222</TR>
223<TR BGCOLOR="white" CLASS="TableRowColor">
224<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
225<CODE>&nbsp;void</CODE></FONT></TD>
226<TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/xml/JDomWriter.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>
227
228<BR>
229&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write the value (text content) of the current node.</TD>
230</TR>
231</TABLE>
232&nbsp;<A NAME="methods_inherited_from_class_com.thoughtworks.xstream.io.xml.AbstractDocumentWriter"><!-- --></A>
233<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
234<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
235<TH ALIGN="left"><B>Methods inherited from class com.thoughtworks.xstream.io.xml.<A HREF="../../../../../com/thoughtworks/xstream/io/xml/AbstractDocumentWriter.html" title="class in com.thoughtworks.xstream.io.xml">AbstractDocumentWriter</A></B></TH>
236</TR>
237<TR BGCOLOR="white" CLASS="TableRowColor">
238<TD><CODE><A HREF="../../../../../com/thoughtworks/xstream/io/xml/AbstractDocumentWriter.html#close()">close</A>, <A HREF="../../../../../com/thoughtworks/xstream/io/xml/AbstractDocumentWriter.html#endNode()">endNode</A>, <A HREF="../../../../../com/thoughtworks/xstream/io/xml/AbstractDocumentWriter.html#endNodeInternally()">endNodeInternally</A>, <A HREF="../../../../../com/thoughtworks/xstream/io/xml/AbstractDocumentWriter.html#flush()">flush</A>, <A HREF="../../../../../com/thoughtworks/xstream/io/xml/AbstractDocumentWriter.html#getCurrent()">getCurrent</A>, <A HREF="../../../../../com/thoughtworks/xstream/io/xml/AbstractDocumentWriter.html#getTopLevelNodes()">getTopLevelNodes</A>, <A HREF="../../../../../com/thoughtworks/xstream/io/xml/AbstractDocumentWriter.html#startNode(java.lang.String)">startNode</A></CODE></TD>
239</TR>
240</TABLE>
241&nbsp;<A NAME="methods_inherited_from_class_com.thoughtworks.xstream.io.xml.AbstractXmlWriter"><!-- --></A>
242<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
243<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
244<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>
245</TR>
246<TR BGCOLOR="white" CLASS="TableRowColor">
247<TD><CODE><A HREF="../../../../../com/thoughtworks/xstream/io/xml/AbstractXmlWriter.html#escapeXmlName(java.lang.String)">escapeXmlName</A></CODE></TD>
248</TR>
249</TABLE>
250&nbsp;<A NAME="methods_inherited_from_class_com.thoughtworks.xstream.io.AbstractWriter"><!-- --></A>
251<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
252<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
253<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>
254</TR>
255<TR BGCOLOR="white" CLASS="TableRowColor">
256<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>
257</TR>
258</TABLE>
259&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
260<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
261<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
262<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>
263</TR>
264<TR BGCOLOR="white" CLASS="TableRowColor">
265<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>
266</TR>
267</TABLE>
268&nbsp;<A NAME="methods_inherited_from_class_com.thoughtworks.xstream.io.HierarchicalStreamWriter"><!-- --></A>
269<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
270<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
271<TH ALIGN="left"><B>Methods inherited from interface com.thoughtworks.xstream.io.<A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamWriter.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamWriter</A></B></TH>
272</TR>
273<TR BGCOLOR="white" CLASS="TableRowColor">
274<TD><CODE><A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamWriter.html#underlyingWriter()">underlyingWriter</A></CODE></TD>
275</TR>
276</TABLE>
277&nbsp;
278<P>
279
280<!-- ========= CONSTRUCTOR DETAIL ======== -->
281
282<A NAME="constructor_detail"><!-- --></A>
283<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
284<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
285<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
286<B>Constructor Detail</B></FONT></TH>
287</TR>
288</TABLE>
289
290<A NAME="JDomWriter(org.jdom.Element, org.jdom.JDOMFactory, com.thoughtworks.xstream.io.naming.NameCoder)"><!-- --></A><H3>
291JDomWriter</H3>
292<PRE>
293public <B>JDomWriter</B>(org.jdom.Element&nbsp;container,
294                  org.jdom.JDOMFactory&nbsp;factory,
295                  <A HREF="../../../../../com/thoughtworks/xstream/io/naming/NameCoder.html" title="interface in com.thoughtworks.xstream.io.naming">NameCoder</A>&nbsp;nameCoder)</PRE>
296<DL>
297<DL>
298<DT><B>Since:</B></DT>
299  <DD>1.4</DD>
300</DL>
301</DL>
302<HR>
303
304<A NAME="JDomWriter(org.jdom.Element, org.jdom.JDOMFactory, com.thoughtworks.xstream.io.xml.XmlFriendlyReplacer)"><!-- --></A><H3>
305JDomWriter</H3>
306<PRE>
307public <B>JDomWriter</B>(org.jdom.Element&nbsp;container,
308                  org.jdom.JDOMFactory&nbsp;factory,
309                  <A HREF="../../../../../com/thoughtworks/xstream/io/xml/XmlFriendlyReplacer.html" title="class in com.thoughtworks.xstream.io.xml">XmlFriendlyReplacer</A>&nbsp;replacer)</PRE>
310<DL>
311<DD><B>Deprecated.</B>&nbsp;<I>As of 1.4 use <A HREF="../../../../../com/thoughtworks/xstream/io/xml/JDomWriter.html#JDomWriter(org.jdom.Element, org.jdom.JDOMFactory, com.thoughtworks.xstream.io.naming.NameCoder)"><CODE>JDomWriter(Element, JDOMFactory, NameCoder)</CODE></A> instead.</I>
312<P>
313<DL>
314<DT><B>Since:</B></DT>
315  <DD>1.2</DD>
316</DL>
317</DL>
318<HR>
319
320<A NAME="JDomWriter(org.jdom.Element, org.jdom.JDOMFactory)"><!-- --></A><H3>
321JDomWriter</H3>
322<PRE>
323public <B>JDomWriter</B>(org.jdom.Element&nbsp;container,
324                  org.jdom.JDOMFactory&nbsp;factory)</PRE>
325<DL>
326</DL>
327<HR>
328
329<A NAME="JDomWriter(org.jdom.JDOMFactory, com.thoughtworks.xstream.io.naming.NameCoder)"><!-- --></A><H3>
330JDomWriter</H3>
331<PRE>
332public <B>JDomWriter</B>(org.jdom.JDOMFactory&nbsp;factory,
333                  <A HREF="../../../../../com/thoughtworks/xstream/io/naming/NameCoder.html" title="interface in com.thoughtworks.xstream.io.naming">NameCoder</A>&nbsp;nameCoder)</PRE>
334<DL>
335<DL>
336<DT><B>Since:</B></DT>
337  <DD>1.4</DD>
338</DL>
339</DL>
340<HR>
341
342<A NAME="JDomWriter(org.jdom.JDOMFactory, com.thoughtworks.xstream.io.xml.XmlFriendlyReplacer)"><!-- --></A><H3>
343JDomWriter</H3>
344<PRE>
345public <B>JDomWriter</B>(org.jdom.JDOMFactory&nbsp;factory,
346                  <A HREF="../../../../../com/thoughtworks/xstream/io/xml/XmlFriendlyReplacer.html" title="class in com.thoughtworks.xstream.io.xml">XmlFriendlyReplacer</A>&nbsp;replacer)</PRE>
347<DL>
348<DD><B>Deprecated.</B>&nbsp;<I>As of 1.4 use <A HREF="../../../../../com/thoughtworks/xstream/io/xml/JDomWriter.html#JDomWriter(org.jdom.JDOMFactory, com.thoughtworks.xstream.io.naming.NameCoder)"><CODE>JDomWriter(JDOMFactory, NameCoder)</CODE></A> instead.</I>
349<P>
350<DL>
351<DT><B>Since:</B></DT>
352  <DD>1.2.1</DD>
353</DL>
354</DL>
355<HR>
356
357<A NAME="JDomWriter(org.jdom.JDOMFactory)"><!-- --></A><H3>
358JDomWriter</H3>
359<PRE>
360public <B>JDomWriter</B>(org.jdom.JDOMFactory&nbsp;factory)</PRE>
361<DL>
362</DL>
363<HR>
364
365<A NAME="JDomWriter(org.jdom.Element, com.thoughtworks.xstream.io.naming.NameCoder)"><!-- --></A><H3>
366JDomWriter</H3>
367<PRE>
368public <B>JDomWriter</B>(org.jdom.Element&nbsp;container,
369                  <A HREF="../../../../../com/thoughtworks/xstream/io/naming/NameCoder.html" title="interface in com.thoughtworks.xstream.io.naming">NameCoder</A>&nbsp;nameCoder)</PRE>
370<DL>
371<DL>
372<DT><B>Since:</B></DT>
373  <DD>1.4</DD>
374</DL>
375</DL>
376<HR>
377
378<A NAME="JDomWriter(org.jdom.Element, com.thoughtworks.xstream.io.xml.XmlFriendlyReplacer)"><!-- --></A><H3>
379JDomWriter</H3>
380<PRE>
381public <B>JDomWriter</B>(org.jdom.Element&nbsp;container,
382                  <A HREF="../../../../../com/thoughtworks/xstream/io/xml/XmlFriendlyReplacer.html" title="class in com.thoughtworks.xstream.io.xml">XmlFriendlyReplacer</A>&nbsp;replacer)</PRE>
383<DL>
384<DD><B>Deprecated.</B>&nbsp;<I>As of 1.4 use <A HREF="../../../../../com/thoughtworks/xstream/io/xml/JDomWriter.html#JDomWriter(org.jdom.Element, com.thoughtworks.xstream.io.naming.NameCoder)"><CODE>JDomWriter(Element, NameCoder)</CODE></A> instead.</I>
385<P>
386<DL>
387<DT><B>Since:</B></DT>
388  <DD>1.2.1</DD>
389</DL>
390</DL>
391<HR>
392
393<A NAME="JDomWriter(org.jdom.Element)"><!-- --></A><H3>
394JDomWriter</H3>
395<PRE>
396public <B>JDomWriter</B>(org.jdom.Element&nbsp;container)</PRE>
397<DL>
398</DL>
399<HR>
400
401<A NAME="JDomWriter()"><!-- --></A><H3>
402JDomWriter</H3>
403<PRE>
404public <B>JDomWriter</B>()</PRE>
405<DL>
406</DL>
407
408<!-- ============ METHOD DETAIL ========== -->
409
410<A NAME="method_detail"><!-- --></A>
411<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
412<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
413<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
414<B>Method Detail</B></FONT></TH>
415</TR>
416</TABLE>
417
418<A NAME="createNode(java.lang.String)"><!-- --></A><H3>
419createNode</H3>
420<PRE>
421protected <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>createNode</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>
422<DL>
423<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/thoughtworks/xstream/io/xml/AbstractDocumentWriter.html#createNode(java.lang.String)">AbstractDocumentWriter</A></CODE></B></DD>
424<DD>Create a node. The provided node name is not yet XML friendly. If <A HREF="../../../../../com/thoughtworks/xstream/io/xml/AbstractDocumentWriter.html#getCurrent()"><CODE>AbstractDocumentWriter.getCurrent()</CODE></A>
425 returns <code>null</code> the node is a top level node.
426<P>
427<DD><DL>
428<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/thoughtworks/xstream/io/xml/AbstractDocumentWriter.html#createNode(java.lang.String)">createNode</A></CODE> in class <CODE><A HREF="../../../../../com/thoughtworks/xstream/io/xml/AbstractDocumentWriter.html" title="class in com.thoughtworks.xstream.io.xml">AbstractDocumentWriter</A></CODE></DL>
429</DD>
430<DD><DL>
431<DT><B>Parameters:</B><DD><CODE>name</CODE> - the node name
432<DT><B>Returns:</B><DD>the new node</DL>
433</DD>
434</DL>
435<HR>
436
437<A NAME="setValue(java.lang.String)"><!-- --></A><H3>
438setValue</H3>
439<PRE>
440public 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>
441<DL>
442<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamWriter.html#setValue(java.lang.String)">HierarchicalStreamWriter</A></CODE></B></DD>
443<DD>Write the value (text content) of the current node.
444<P>
445<DD><DL>
446</DL>
447</DD>
448</DL>
449<HR>
450
451<A NAME="addAttribute(java.lang.String, java.lang.String)"><!-- --></A><H3>
452addAttribute</H3>
453<PRE>
454public 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,
455                         <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>
456<DL>
457<DD><DL>
458</DL>
459</DD>
460</DL>
461<!-- ========= END OF CLASS DATA ========= -->
462<HR>
463
464
465<!-- ======= START OF BOTTOM NAVBAR ====== -->
466<A NAME="navbar_bottom"><!-- --></A>
467<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
468<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
469<TR>
470<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
471<A NAME="navbar_bottom_firstrow"><!-- --></A>
472<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
473  <TR ALIGN="center" VALIGN="top">
474  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
475  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
476  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
477  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/JDomWriter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
478  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
479  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
480  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
481  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
482  </TR>
483</TABLE>
484</TD>
485<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
486</EM>
487</TD>
488</TR>
489
490<TR>
491<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
492&nbsp;<A HREF="../../../../../com/thoughtworks/xstream/io/xml/JDomReader.html" title="class in com.thoughtworks.xstream.io.xml"><B>PREV CLASS</B></A>&nbsp;
493&nbsp;<A HREF="../../../../../com/thoughtworks/xstream/io/xml/KXml2DomDriver.html" title="class in com.thoughtworks.xstream.io.xml"><B>NEXT CLASS</B></A></FONT></TD>
494<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
495  <A HREF="../../../../../index.html?com/thoughtworks/xstream/io/xml/JDomWriter.html" target="_top"><B>FRAMES</B></A>  &nbsp;
496&nbsp;<A HREF="JDomWriter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
497&nbsp;<SCRIPT type="text/javascript">
498  <!--
499  if(window==top) {
500    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
501  }
502  //-->
503</SCRIPT>
504<NOSCRIPT>
505  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
506</NOSCRIPT>
507
508
509</FONT></TD>
510</TR>
511<TR>
512<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
513  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
514<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
515DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
516</TR>
517</TABLE>
518<A NAME="skip-navbar_bottom"></A>
519<!-- ======== END OF BOTTOM NAVBAR ======= -->
520
521<HR>
522Copyright &#169; 2004-2011 <a href="http://xstream.codehaus.org">XStream</a>. All Rights Reserved.
523</BODY>
524</HTML>