Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 356 | chris | 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 Sun Jan 27 20:37:09 CET 2013 --> |
||
| 6 | <TITLE> |
||
| 7 | XmlWriter (libgdx API) |
||
| 8 | </TITLE> |
||
| 9 | |||
| 10 | <META NAME="date" CONTENT="2013-01-27"> |
||
| 11 | |||
| 12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
||
| 13 | |||
| 14 | <SCRIPT type="text/javascript"> |
||
| 15 | function windowTitle() |
||
| 16 | { |
||
| 17 | if (location.href.indexOf('is-external=true') == -1) { |
||
| 18 | parent.document.title="XmlWriter (libgdx API)"; |
||
| 19 | } |
||
| 20 | } |
||
| 21 | </SCRIPT> |
||
| 22 | <NOSCRIPT> |
||
| 23 | </NOSCRIPT> |
||
| 24 | |||
| 25 | </HEAD> |
||
| 26 | |||
| 27 | <BODY BGCOLOR="white" onload="windowTitle();"> |
||
| 28 | <HR> |
||
| 29 | |||
| 30 | |||
| 31 | <!-- ========= START OF TOP NAVBAR ======= --> |
||
| 32 | <A NAME="navbar_top"><!-- --></A> |
||
| 33 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
||
| 34 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
||
| 35 | <TR> |
||
| 36 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
||
| 37 | <A NAME="navbar_top_firstrow"><!-- --></A> |
||
| 38 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
||
| 39 | <TR ALIGN="center" VALIGN="top"> |
||
| 40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
||
| 41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
| 42 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
| 43 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XmlWriter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
||
| 44 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
| 45 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
| 46 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
| 47 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
||
| 48 | </TR> |
||
| 49 | </TABLE> |
||
| 50 | </TD> |
||
| 51 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
||
| 52 | |||
| 53 | libgdx API |
||
| 54 | <style> |
||
| 55 | body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt } |
||
| 56 | pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif } |
||
| 57 | h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%; font-weight:bold } |
||
| 58 | .TableHeadingColor { background:#EEEEFF; } |
||
| 59 | a { text-decoration:none } |
||
| 60 | a:hover { text-decoration:underline } |
||
| 61 | a:link, a:visited { color:blue } |
||
| 62 | table { border:0px } |
||
| 63 | .TableRowColor td:first-child { border-left:1px solid black } |
||
| 64 | .TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black } |
||
| 65 | hr { border:0px; border-bottom:1px solid #333366; } |
||
| 66 | </style> |
||
| 67 | </EM> |
||
| 68 | </TD> |
||
| 69 | </TR> |
||
| 70 | |||
| 71 | <TR> |
||
| 72 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
| 73 | <A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html" title="class in com.badlogic.gdx.utils"><B>PREV CLASS</B></A> |
||
| 74 | NEXT CLASS</FONT></TD> |
||
| 75 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
| 76 | <A HREF="../../../../index.html?com/badlogic/gdx/utils/XmlWriter.html" target="_top"><B>FRAMES</B></A> |
||
| 77 | <A HREF="XmlWriter.html" target="_top"><B>NO FRAMES</B></A> |
||
| 78 | <SCRIPT type="text/javascript"> |
||
| 79 | <!-- |
||
| 80 | if(window==top) { |
||
| 81 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
||
| 82 | } |
||
| 83 | //--> |
||
| 84 | </SCRIPT> |
||
| 85 | <NOSCRIPT> |
||
| 86 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
||
| 87 | </NOSCRIPT> |
||
| 88 | |||
| 89 | |||
| 90 | </FONT></TD> |
||
| 91 | </TR> |
||
| 92 | <TR> |
||
| 93 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
| 94 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
| 95 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
| 96 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
||
| 97 | </TR> |
||
| 98 | </TABLE> |
||
| 99 | <A NAME="skip-navbar_top"></A> |
||
| 100 | <!-- ========= END OF TOP NAVBAR ========= --> |
||
| 101 | |||
| 102 | <HR> |
||
| 103 | <!-- ======== START OF CLASS DATA ======== --> |
||
| 104 | <H2> |
||
| 105 | <FONT SIZE="-1"> |
||
| 106 | com.badlogic.gdx.utils</FONT> |
||
| 107 | <BR> |
||
| 108 | Class XmlWriter</H2> |
||
| 109 | <PRE> |
||
| 110 | java.lang.Object |
||
| 111 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.io.Writer |
||
| 112 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.badlogic.gdx.utils.XmlWriter</B> |
||
| 113 | </PRE> |
||
| 114 | <DL> |
||
| 115 | <DT><B>All Implemented Interfaces:</B> <DD>java.io.Closeable, java.io.Flushable, java.lang.Appendable</DD> |
||
| 116 | </DL> |
||
| 117 | <HR> |
||
| 118 | <DL> |
||
| 119 | <DT><PRE>public class <B>XmlWriter</B><DT>extends java.io.Writer</DL> |
||
| 120 | </PRE> |
||
| 121 | |||
| 122 | <P> |
||
| 123 | Builder style API for emitting XML. <pre> |
||
| 124 | StringWriter writer = new StringWriter(); |
||
| 125 | XmlBuilder xml = new XmlBuilder(writer); |
||
| 126 | xml.element("meow") |
||
| 127 | .attribute("moo", "cow") |
||
| 128 | .element("child") |
||
| 129 | .attribute("moo", "cow") |
||
| 130 | .element("child") |
||
| 131 | .attribute("moo", "cow") |
||
| 132 | .text("XML is like violence. If it doesn't solve your problem, you're not using enough of it.") |
||
| 133 | .pop() |
||
| 134 | .pop() |
||
| 135 | .pop(); |
||
| 136 | System.out.println(writer); |
||
| 137 | </pre> |
||
| 138 | <P> |
||
| 139 | |||
| 140 | <P> |
||
| 141 | <DL> |
||
| 142 | <DT><B>Author:</B></DT> |
||
| 143 | <DD>Nathan Sweet</DD> |
||
| 144 | </DL> |
||
| 145 | <HR> |
||
| 146 | |||
| 147 | <P> |
||
| 148 | <!-- =========== FIELD SUMMARY =========== --> |
||
| 149 | |||
| 150 | <A NAME="field_summary"><!-- --></A> |
||
| 151 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 152 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 153 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
||
| 154 | <B>Field Summary</B></FONT></TH> |
||
| 155 | </TR> |
||
| 156 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 157 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 158 | <CODE> int</CODE></FONT></TD> |
||
| 159 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlWriter.html#indent">indent</A></B></CODE> |
||
| 160 | |||
| 161 | <BR> |
||
| 162 | </TD> |
||
| 163 | </TR> |
||
| 164 | </TABLE> |
||
| 165 | <A NAME="fields_inherited_from_class_java.io.Writer"><!-- --></A> |
||
| 166 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 167 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
| 168 | <TH ALIGN="left"><B>Fields inherited from class java.io.Writer</B></TH> |
||
| 169 | </TR> |
||
| 170 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 171 | <TD><CODE>lock</CODE></TD> |
||
| 172 | </TR> |
||
| 173 | </TABLE> |
||
| 174 | |
||
| 175 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
||
| 176 | |||
| 177 | <A NAME="constructor_summary"><!-- --></A> |
||
| 178 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 179 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 180 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
||
| 181 | <B>Constructor Summary</B></FONT></TH> |
||
| 182 | </TR> |
||
| 183 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 184 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlWriter.html#XmlWriter(java.io.Writer)">XmlWriter</A></B>(java.io.Writer writer)</CODE> |
||
| 185 | |||
| 186 | <BR> |
||
| 187 | </TD> |
||
| 188 | </TR> |
||
| 189 | </TABLE> |
||
| 190 | |
||
| 191 | <!-- ========== METHOD SUMMARY =========== --> |
||
| 192 | |||
| 193 | <A NAME="method_summary"><!-- --></A> |
||
| 194 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 195 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 196 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
||
| 197 | <B>Method Summary</B></FONT></TH> |
||
| 198 | </TR> |
||
| 199 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 200 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 201 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/XmlWriter.html" title="class in com.badlogic.gdx.utils">XmlWriter</A></CODE></FONT></TD> |
||
| 202 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlWriter.html#attribute(java.lang.String, java.lang.Object)">attribute</A></B>(java.lang.String name, |
||
| 203 | java.lang.Object value)</CODE> |
||
| 204 | |||
| 205 | <BR> |
||
| 206 | </TD> |
||
| 207 | </TR> |
||
| 208 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 209 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 210 | <CODE> void</CODE></FONT></TD> |
||
| 211 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlWriter.html#close()">close</A></B>()</CODE> |
||
| 212 | |||
| 213 | <BR> |
||
| 214 | Calls <A HREF="../../../../com/badlogic/gdx/utils/XmlWriter.html#pop()"><CODE>pop()</CODE></A> for each remaining open element, if any, and closes the stream.</TD> |
||
| 215 | </TR> |
||
| 216 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 217 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 218 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/XmlWriter.html" title="class in com.badlogic.gdx.utils">XmlWriter</A></CODE></FONT></TD> |
||
| 219 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlWriter.html#element(java.lang.String)">element</A></B>(java.lang.String name)</CODE> |
||
| 220 | |||
| 221 | <BR> |
||
| 222 | </TD> |
||
| 223 | </TR> |
||
| 224 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 225 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 226 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/XmlWriter.html" title="class in com.badlogic.gdx.utils">XmlWriter</A></CODE></FONT></TD> |
||
| 227 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlWriter.html#element(java.lang.String, java.lang.Object)">element</A></B>(java.lang.String name, |
||
| 228 | java.lang.Object text)</CODE> |
||
| 229 | |||
| 230 | <BR> |
||
| 231 | </TD> |
||
| 232 | </TR> |
||
| 233 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 234 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 235 | <CODE> void</CODE></FONT></TD> |
||
| 236 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlWriter.html#flush()">flush</A></B>()</CODE> |
||
| 237 | |||
| 238 | <BR> |
||
| 239 | </TD> |
||
| 240 | </TR> |
||
| 241 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 242 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 243 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/XmlWriter.html" title="class in com.badlogic.gdx.utils">XmlWriter</A></CODE></FONT></TD> |
||
| 244 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlWriter.html#pop()">pop</A></B>()</CODE> |
||
| 245 | |||
| 246 | <BR> |
||
| 247 | </TD> |
||
| 248 | </TR> |
||
| 249 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 250 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 251 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/XmlWriter.html" title="class in com.badlogic.gdx.utils">XmlWriter</A></CODE></FONT></TD> |
||
| 252 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlWriter.html#text(java.lang.Object)">text</A></B>(java.lang.Object text)</CODE> |
||
| 253 | |||
| 254 | <BR> |
||
| 255 | </TD> |
||
| 256 | </TR> |
||
| 257 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 258 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 259 | <CODE> void</CODE></FONT></TD> |
||
| 260 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlWriter.html#write(char[], int, int)">write</A></B>(char[] cbuf, |
||
| 261 | int off, |
||
| 262 | int len)</CODE> |
||
| 263 | |||
| 264 | <BR> |
||
| 265 | </TD> |
||
| 266 | </TR> |
||
| 267 | </TABLE> |
||
| 268 | <A NAME="methods_inherited_from_class_java.io.Writer"><!-- --></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 class java.io.Writer</B></TH> |
||
| 272 | </TR> |
||
| 273 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 274 | <TD><CODE>append, append, append, write, write, write, write</CODE></TD> |
||
| 275 | </TR> |
||
| 276 | </TABLE> |
||
| 277 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
||
| 278 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 279 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
| 280 | <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> |
||
| 281 | </TR> |
||
| 282 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 283 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
||
| 284 | </TR> |
||
| 285 | </TABLE> |
||
| 286 | |
||
| 287 | <P> |
||
| 288 | |||
| 289 | <!-- ============ FIELD DETAIL =========== --> |
||
| 290 | |||
| 291 | <A NAME="field_detail"><!-- --></A> |
||
| 292 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 293 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 294 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
||
| 295 | <B>Field Detail</B></FONT></TH> |
||
| 296 | </TR> |
||
| 297 | </TABLE> |
||
| 298 | |||
| 299 | <A NAME="indent"><!-- --></A><H3> |
||
| 300 | indent</H3> |
||
| 301 | <PRE> |
||
| 302 | public int <B>indent</B></PRE> |
||
| 303 | <DL> |
||
| 304 | <DL> |
||
| 305 | </DL> |
||
| 306 | </DL> |
||
| 307 | |||
| 308 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
||
| 309 | |||
| 310 | <A NAME="constructor_detail"><!-- --></A> |
||
| 311 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 312 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 313 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
||
| 314 | <B>Constructor Detail</B></FONT></TH> |
||
| 315 | </TR> |
||
| 316 | </TABLE> |
||
| 317 | |||
| 318 | <A NAME="XmlWriter(java.io.Writer)"><!-- --></A><H3> |
||
| 319 | XmlWriter</H3> |
||
| 320 | <PRE> |
||
| 321 | public <B>XmlWriter</B>(java.io.Writer writer)</PRE> |
||
| 322 | <DL> |
||
| 323 | </DL> |
||
| 324 | |||
| 325 | <!-- ============ METHOD DETAIL ========== --> |
||
| 326 | |||
| 327 | <A NAME="method_detail"><!-- --></A> |
||
| 328 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 329 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 330 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
||
| 331 | <B>Method Detail</B></FONT></TH> |
||
| 332 | </TR> |
||
| 333 | </TABLE> |
||
| 334 | |||
| 335 | <A NAME="element(java.lang.String)"><!-- --></A><H3> |
||
| 336 | element</H3> |
||
| 337 | <PRE> |
||
| 338 | public <A HREF="../../../../com/badlogic/gdx/utils/XmlWriter.html" title="class in com.badlogic.gdx.utils">XmlWriter</A> <B>element</B>(java.lang.String name) |
||
| 339 | throws java.io.IOException</PRE> |
||
| 340 | <DL> |
||
| 341 | <DD><DL> |
||
| 342 | |||
| 343 | <DT><B>Throws:</B> |
||
| 344 | <DD><CODE>java.io.IOException</CODE></DL> |
||
| 345 | </DD> |
||
| 346 | </DL> |
||
| 347 | <HR> |
||
| 348 | |||
| 349 | <A NAME="element(java.lang.String, java.lang.Object)"><!-- --></A><H3> |
||
| 350 | element</H3> |
||
| 351 | <PRE> |
||
| 352 | public <A HREF="../../../../com/badlogic/gdx/utils/XmlWriter.html" title="class in com.badlogic.gdx.utils">XmlWriter</A> <B>element</B>(java.lang.String name, |
||
| 353 | java.lang.Object text) |
||
| 354 | throws java.io.IOException</PRE> |
||
| 355 | <DL> |
||
| 356 | <DD><DL> |
||
| 357 | |||
| 358 | <DT><B>Throws:</B> |
||
| 359 | <DD><CODE>java.io.IOException</CODE></DL> |
||
| 360 | </DD> |
||
| 361 | </DL> |
||
| 362 | <HR> |
||
| 363 | |||
| 364 | <A NAME="attribute(java.lang.String, java.lang.Object)"><!-- --></A><H3> |
||
| 365 | attribute</H3> |
||
| 366 | <PRE> |
||
| 367 | public <A HREF="../../../../com/badlogic/gdx/utils/XmlWriter.html" title="class in com.badlogic.gdx.utils">XmlWriter</A> <B>attribute</B>(java.lang.String name, |
||
| 368 | java.lang.Object value) |
||
| 369 | throws java.io.IOException</PRE> |
||
| 370 | <DL> |
||
| 371 | <DD><DL> |
||
| 372 | |||
| 373 | <DT><B>Throws:</B> |
||
| 374 | <DD><CODE>java.io.IOException</CODE></DL> |
||
| 375 | </DD> |
||
| 376 | </DL> |
||
| 377 | <HR> |
||
| 378 | |||
| 379 | <A NAME="text(java.lang.Object)"><!-- --></A><H3> |
||
| 380 | text</H3> |
||
| 381 | <PRE> |
||
| 382 | public <A HREF="../../../../com/badlogic/gdx/utils/XmlWriter.html" title="class in com.badlogic.gdx.utils">XmlWriter</A> <B>text</B>(java.lang.Object text) |
||
| 383 | throws java.io.IOException</PRE> |
||
| 384 | <DL> |
||
| 385 | <DD><DL> |
||
| 386 | |||
| 387 | <DT><B>Throws:</B> |
||
| 388 | <DD><CODE>java.io.IOException</CODE></DL> |
||
| 389 | </DD> |
||
| 390 | </DL> |
||
| 391 | <HR> |
||
| 392 | |||
| 393 | <A NAME="pop()"><!-- --></A><H3> |
||
| 394 | pop</H3> |
||
| 395 | <PRE> |
||
| 396 | public <A HREF="../../../../com/badlogic/gdx/utils/XmlWriter.html" title="class in com.badlogic.gdx.utils">XmlWriter</A> <B>pop</B>() |
||
| 397 | throws java.io.IOException</PRE> |
||
| 398 | <DL> |
||
| 399 | <DD><DL> |
||
| 400 | |||
| 401 | <DT><B>Throws:</B> |
||
| 402 | <DD><CODE>java.io.IOException</CODE></DL> |
||
| 403 | </DD> |
||
| 404 | </DL> |
||
| 405 | <HR> |
||
| 406 | |||
| 407 | <A NAME="close()"><!-- --></A><H3> |
||
| 408 | close</H3> |
||
| 409 | <PRE> |
||
| 410 | public void <B>close</B>() |
||
| 411 | throws java.io.IOException</PRE> |
||
| 412 | <DL> |
||
| 413 | <DD>Calls <A HREF="../../../../com/badlogic/gdx/utils/XmlWriter.html#pop()"><CODE>pop()</CODE></A> for each remaining open element, if any, and closes the stream. |
||
| 414 | <P> |
||
| 415 | <DD><DL> |
||
| 416 | <DT><B>Specified by:</B><DD><CODE>close</CODE> in interface <CODE>java.io.Closeable</CODE><DT><B>Specified by:</B><DD><CODE>close</CODE> in class <CODE>java.io.Writer</CODE></DL> |
||
| 417 | </DD> |
||
| 418 | <DD><DL> |
||
| 419 | |||
| 420 | <DT><B>Throws:</B> |
||
| 421 | <DD><CODE>java.io.IOException</CODE></DL> |
||
| 422 | </DD> |
||
| 423 | </DL> |
||
| 424 | <HR> |
||
| 425 | |||
| 426 | <A NAME="write(char[], int, int)"><!-- --></A><H3> |
||
| 427 | write</H3> |
||
| 428 | <PRE> |
||
| 429 | public void <B>write</B>(char[] cbuf, |
||
| 430 | int off, |
||
| 431 | int len) |
||
| 432 | throws java.io.IOException</PRE> |
||
| 433 | <DL> |
||
| 434 | <DD><DL> |
||
| 435 | <DT><B>Specified by:</B><DD><CODE>write</CODE> in class <CODE>java.io.Writer</CODE></DL> |
||
| 436 | </DD> |
||
| 437 | <DD><DL> |
||
| 438 | |||
| 439 | <DT><B>Throws:</B> |
||
| 440 | <DD><CODE>java.io.IOException</CODE></DL> |
||
| 441 | </DD> |
||
| 442 | </DL> |
||
| 443 | <HR> |
||
| 444 | |||
| 445 | <A NAME="flush()"><!-- --></A><H3> |
||
| 446 | flush</H3> |
||
| 447 | <PRE> |
||
| 448 | public void <B>flush</B>() |
||
| 449 | throws java.io.IOException</PRE> |
||
| 450 | <DL> |
||
| 451 | <DD><DL> |
||
| 452 | <DT><B>Specified by:</B><DD><CODE>flush</CODE> in interface <CODE>java.io.Flushable</CODE><DT><B>Specified by:</B><DD><CODE>flush</CODE> in class <CODE>java.io.Writer</CODE></DL> |
||
| 453 | </DD> |
||
| 454 | <DD><DL> |
||
| 455 | |||
| 456 | <DT><B>Throws:</B> |
||
| 457 | <DD><CODE>java.io.IOException</CODE></DL> |
||
| 458 | </DD> |
||
| 459 | </DL> |
||
| 460 | <!-- ========= END OF CLASS DATA ========= --> |
||
| 461 | <HR> |
||
| 462 | |||
| 463 | |||
| 464 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
||
| 465 | <A NAME="navbar_bottom"><!-- --></A> |
||
| 466 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
||
| 467 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
||
| 468 | <TR> |
||
| 469 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
||
| 470 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
||
| 471 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
||
| 472 | <TR ALIGN="center" VALIGN="top"> |
||
| 473 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
||
| 474 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
| 475 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
| 476 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XmlWriter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
||
| 477 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
| 478 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
| 479 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
| 480 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
||
| 481 | </TR> |
||
| 482 | </TABLE> |
||
| 483 | </TD> |
||
| 484 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
||
| 485 | libgdx API</EM> |
||
| 486 | </TD> |
||
| 487 | </TR> |
||
| 488 | |||
| 489 | <TR> |
||
| 490 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
| 491 | <A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html" title="class in com.badlogic.gdx.utils"><B>PREV CLASS</B></A> |
||
| 492 | NEXT CLASS</FONT></TD> |
||
| 493 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
| 494 | <A HREF="../../../../index.html?com/badlogic/gdx/utils/XmlWriter.html" target="_top"><B>FRAMES</B></A> |
||
| 495 | <A HREF="XmlWriter.html" target="_top"><B>NO FRAMES</B></A> |
||
| 496 | <SCRIPT type="text/javascript"> |
||
| 497 | <!-- |
||
| 498 | if(window==top) { |
||
| 499 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
||
| 500 | } |
||
| 501 | //--> |
||
| 502 | </SCRIPT> |
||
| 503 | <NOSCRIPT> |
||
| 504 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
||
| 505 | </NOSCRIPT> |
||
| 506 | |||
| 507 | |||
| 508 | </FONT></TD> |
||
| 509 | </TR> |
||
| 510 | <TR> |
||
| 511 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
| 512 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
| 513 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
| 514 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
||
| 515 | </TR> |
||
| 516 | </TABLE> |
||
| 517 | <A NAME="skip-navbar_bottom"></A> |
||
| 518 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
||
| 519 | |||
| 520 | <HR> |
||
| 521 | |||
| 522 | <div style="font-size:9pt"><i> |
||
| 523 | Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) |
||
| 524 | </i></div> |
||
| 525 | |||
| 526 | </BODY> |
||
| 527 | </HTML> |