Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 307 | 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 Jun 03 02:18:10 CEST 2012 --> |
||
| 6 | <TITLE> |
||
| 7 | XmlReader.Element (libgdx API) |
||
| 8 | </TITLE> |
||
| 9 | |||
| 10 | <META NAME="date" CONTENT="2012-06-03"> |
||
| 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="XmlReader.Element (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/XmlReader.Element.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.html" title="class in com.badlogic.gdx.utils"><B>PREV CLASS</B></A> |
||
| 74 | <A HREF="../../../../com/badlogic/gdx/utils/XmlWriter.html" title="class in com.badlogic.gdx.utils"><B>NEXT CLASS</B></A></FONT></TD> |
||
| 75 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
| 76 | <A HREF="../../../../index.html?com/badlogic/gdx/utils/XmlReader.Element.html" target="_top"><B>FRAMES</B></A> |
||
| 77 | <A HREF="XmlReader.Element.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 | FIELD | <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: FIELD | <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 XmlReader.Element</H2> |
||
| 109 | <PRE> |
||
| 110 | java.lang.Object |
||
| 111 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.badlogic.gdx.utils.XmlReader.Element</B> |
||
| 112 | </PRE> |
||
| 113 | <DL> |
||
| 114 | <DT><B>Enclosing class:</B><DD><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.html" title="class in com.badlogic.gdx.utils">XmlReader</A></DD> |
||
| 115 | </DL> |
||
| 116 | <HR> |
||
| 117 | <DL> |
||
| 118 | <DT><PRE>public static class <B>XmlReader.Element</B><DT>extends java.lang.Object</DL> |
||
| 119 | </PRE> |
||
| 120 | |||
| 121 | <P> |
||
| 122 | <HR> |
||
| 123 | |||
| 124 | <P> |
||
| 125 | |||
| 126 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
||
| 127 | |||
| 128 | <A NAME="constructor_summary"><!-- --></A> |
||
| 129 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 130 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 131 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
||
| 132 | <B>Constructor Summary</B></FONT></TH> |
||
| 133 | </TR> |
||
| 134 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 135 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#XmlReader.Element(java.lang.String, com.badlogic.gdx.utils.XmlReader.Element)">XmlReader.Element</A></B>(java.lang.String name, |
||
| 136 | <A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html" title="class in com.badlogic.gdx.utils">XmlReader.Element</A> parent)</CODE> |
||
| 137 | |||
| 138 | <BR> |
||
| 139 | </TD> |
||
| 140 | </TR> |
||
| 141 | </TABLE> |
||
| 142 | |
||
| 143 | <!-- ========== METHOD SUMMARY =========== --> |
||
| 144 | |||
| 145 | <A NAME="method_summary"><!-- --></A> |
||
| 146 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 147 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 148 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
||
| 149 | <B>Method Summary</B></FONT></TH> |
||
| 150 | </TR> |
||
| 151 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 152 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 153 | <CODE> void</CODE></FONT></TD> |
||
| 154 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#addChild(com.badlogic.gdx.utils.XmlReader.Element)">addChild</A></B>(<A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html" title="class in com.badlogic.gdx.utils">XmlReader.Element</A> element)</CODE> |
||
| 155 | |||
| 156 | <BR> |
||
| 157 | </TD> |
||
| 158 | </TR> |
||
| 159 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 160 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 161 | <CODE> java.lang.String</CODE></FONT></TD> |
||
| 162 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#get(java.lang.String)">get</A></B>(java.lang.String name)</CODE> |
||
| 163 | |||
| 164 | <BR> |
||
| 165 | Returns the attribute value with the specified name, or if no attribute is found, the text of a child with the name.</TD> |
||
| 166 | </TR> |
||
| 167 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 168 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 169 | <CODE> java.lang.String</CODE></FONT></TD> |
||
| 170 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#get(java.lang.String, java.lang.String)">get</A></B>(java.lang.String name, |
||
| 171 | java.lang.String defaultValue)</CODE> |
||
| 172 | |||
| 173 | <BR> |
||
| 174 | Returns the attribute value with the specified name, or if no attribute is found, the text of a child with the name.</TD> |
||
| 175 | </TR> |
||
| 176 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 177 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 178 | <CODE> java.lang.String</CODE></FONT></TD> |
||
| 179 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#getAttribute(java.lang.String)">getAttribute</A></B>(java.lang.String name)</CODE> |
||
| 180 | |||
| 181 | <BR> |
||
| 182 | </TD> |
||
| 183 | </TR> |
||
| 184 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 185 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 186 | <CODE> java.lang.String</CODE></FONT></TD> |
||
| 187 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#getAttribute(java.lang.String, java.lang.String)">getAttribute</A></B>(java.lang.String name, |
||
| 188 | java.lang.String defaultValue)</CODE> |
||
| 189 | |||
| 190 | <BR> |
||
| 191 | </TD> |
||
| 192 | </TR> |
||
| 193 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 194 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 195 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/ObjectMap.html" title="class in com.badlogic.gdx.utils">ObjectMap</A><java.lang.String,java.lang.String></CODE></FONT></TD> |
||
| 196 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#getAttributes()">getAttributes</A></B>()</CODE> |
||
| 197 | |||
| 198 | <BR> |
||
| 199 | </TD> |
||
| 200 | </TR> |
||
| 201 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 202 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 203 | <CODE> boolean</CODE></FONT></TD> |
||
| 204 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#getBoolean(java.lang.String)">getBoolean</A></B>(java.lang.String name)</CODE> |
||
| 205 | |||
| 206 | <BR> |
||
| 207 | Returns the attribute value with the specified name, or if no attribute is found, the text of a child with the name.</TD> |
||
| 208 | </TR> |
||
| 209 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 210 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 211 | <CODE> boolean</CODE></FONT></TD> |
||
| 212 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#getBoolean(java.lang.String, boolean)">getBoolean</A></B>(java.lang.String name, |
||
| 213 | boolean defaultValue)</CODE> |
||
| 214 | |||
| 215 | <BR> |
||
| 216 | Returns the attribute value with the specified name, or if no attribute is found, the text of a child with the name.</TD> |
||
| 217 | </TR> |
||
| 218 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 219 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 220 | <CODE> boolean</CODE></FONT></TD> |
||
| 221 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#getBooleanAttribute(java.lang.String)">getBooleanAttribute</A></B>(java.lang.String name)</CODE> |
||
| 222 | |||
| 223 | <BR> |
||
| 224 | </TD> |
||
| 225 | </TR> |
||
| 226 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 227 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 228 | <CODE> boolean</CODE></FONT></TD> |
||
| 229 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#getBooleanAttribute(java.lang.String, boolean)">getBooleanAttribute</A></B>(java.lang.String name, |
||
| 230 | boolean defaultValue)</CODE> |
||
| 231 | |||
| 232 | <BR> |
||
| 233 | </TD> |
||
| 234 | </TR> |
||
| 235 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 236 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 237 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html" title="class in com.badlogic.gdx.utils">XmlReader.Element</A></CODE></FONT></TD> |
||
| 238 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#getChild(int)">getChild</A></B>(int i)</CODE> |
||
| 239 | |||
| 240 | <BR> |
||
| 241 | </TD> |
||
| 242 | </TR> |
||
| 243 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 244 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 245 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html" title="class in com.badlogic.gdx.utils">XmlReader.Element</A></CODE></FONT></TD> |
||
| 246 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#getChildByName(java.lang.String)">getChildByName</A></B>(java.lang.String name)</CODE> |
||
| 247 | |||
| 248 | <BR> |
||
| 249 | </TD> |
||
| 250 | </TR> |
||
| 251 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 252 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 253 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html" title="class in com.badlogic.gdx.utils">XmlReader.Element</A></CODE></FONT></TD> |
||
| 254 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#getChildByNameRecursive(java.lang.String)">getChildByNameRecursive</A></B>(java.lang.String name)</CODE> |
||
| 255 | |||
| 256 | <BR> |
||
| 257 | </TD> |
||
| 258 | </TR> |
||
| 259 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 260 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 261 | <CODE> int</CODE></FONT></TD> |
||
| 262 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#getChildCount()">getChildCount</A></B>()</CODE> |
||
| 263 | |||
| 264 | <BR> |
||
| 265 | </TD> |
||
| 266 | </TR> |
||
| 267 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 268 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 269 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/Array.html" title="class in com.badlogic.gdx.utils">Array</A><<A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html" title="class in com.badlogic.gdx.utils">XmlReader.Element</A>></CODE></FONT></TD> |
||
| 270 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#getChildrenByName(java.lang.String)">getChildrenByName</A></B>(java.lang.String name)</CODE> |
||
| 271 | |||
| 272 | <BR> |
||
| 273 | </TD> |
||
| 274 | </TR> |
||
| 275 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 276 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 277 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/Array.html" title="class in com.badlogic.gdx.utils">Array</A><<A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html" title="class in com.badlogic.gdx.utils">XmlReader.Element</A>></CODE></FONT></TD> |
||
| 278 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#getChildrenByNameRecursively(java.lang.String)">getChildrenByNameRecursively</A></B>(java.lang.String name)</CODE> |
||
| 279 | |||
| 280 | <BR> |
||
| 281 | </TD> |
||
| 282 | </TR> |
||
| 283 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 284 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 285 | <CODE> float</CODE></FONT></TD> |
||
| 286 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#getFloat(java.lang.String)">getFloat</A></B>(java.lang.String name)</CODE> |
||
| 287 | |||
| 288 | <BR> |
||
| 289 | Returns the attribute value with the specified name, or if no attribute is found, the text of a child with the name.</TD> |
||
| 290 | </TR> |
||
| 291 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 292 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 293 | <CODE> float</CODE></FONT></TD> |
||
| 294 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#getFloat(java.lang.String, float)">getFloat</A></B>(java.lang.String name, |
||
| 295 | float defaultValue)</CODE> |
||
| 296 | |||
| 297 | <BR> |
||
| 298 | Returns the attribute value with the specified name, or if no attribute is found, the text of a child with the name.</TD> |
||
| 299 | </TR> |
||
| 300 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 301 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 302 | <CODE> float</CODE></FONT></TD> |
||
| 303 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#getFloatAttribute(java.lang.String)">getFloatAttribute</A></B>(java.lang.String name)</CODE> |
||
| 304 | |||
| 305 | <BR> |
||
| 306 | </TD> |
||
| 307 | </TR> |
||
| 308 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 309 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 310 | <CODE> float</CODE></FONT></TD> |
||
| 311 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#getFloatAttribute(java.lang.String, float)">getFloatAttribute</A></B>(java.lang.String name, |
||
| 312 | float defaultValue)</CODE> |
||
| 313 | |||
| 314 | <BR> |
||
| 315 | </TD> |
||
| 316 | </TR> |
||
| 317 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 318 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 319 | <CODE> int</CODE></FONT></TD> |
||
| 320 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#getInt(java.lang.String)">getInt</A></B>(java.lang.String name)</CODE> |
||
| 321 | |||
| 322 | <BR> |
||
| 323 | Returns the attribute value with the specified name, or if no attribute is found, the text of a child with the name.</TD> |
||
| 324 | </TR> |
||
| 325 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 326 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 327 | <CODE> int</CODE></FONT></TD> |
||
| 328 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#getInt(java.lang.String, int)">getInt</A></B>(java.lang.String name, |
||
| 329 | int defaultValue)</CODE> |
||
| 330 | |||
| 331 | <BR> |
||
| 332 | Returns the attribute value with the specified name, or if no attribute is found, the text of a child with the name.</TD> |
||
| 333 | </TR> |
||
| 334 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 335 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 336 | <CODE> int</CODE></FONT></TD> |
||
| 337 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#getIntAttribute(java.lang.String)">getIntAttribute</A></B>(java.lang.String name)</CODE> |
||
| 338 | |||
| 339 | <BR> |
||
| 340 | </TD> |
||
| 341 | </TR> |
||
| 342 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 343 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 344 | <CODE> int</CODE></FONT></TD> |
||
| 345 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#getIntAttribute(java.lang.String, int)">getIntAttribute</A></B>(java.lang.String name, |
||
| 346 | int defaultValue)</CODE> |
||
| 347 | |||
| 348 | <BR> |
||
| 349 | </TD> |
||
| 350 | </TR> |
||
| 351 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 352 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 353 | <CODE> java.lang.String</CODE></FONT></TD> |
||
| 354 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#getName()">getName</A></B>()</CODE> |
||
| 355 | |||
| 356 | <BR> |
||
| 357 | </TD> |
||
| 358 | </TR> |
||
| 359 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 360 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 361 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html" title="class in com.badlogic.gdx.utils">XmlReader.Element</A></CODE></FONT></TD> |
||
| 362 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#getParent()">getParent</A></B>()</CODE> |
||
| 363 | |||
| 364 | <BR> |
||
| 365 | </TD> |
||
| 366 | </TR> |
||
| 367 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 368 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 369 | <CODE> java.lang.String</CODE></FONT></TD> |
||
| 370 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#getText()">getText</A></B>()</CODE> |
||
| 371 | |||
| 372 | <BR> |
||
| 373 | </TD> |
||
| 374 | </TR> |
||
| 375 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 376 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 377 | <CODE> void</CODE></FONT></TD> |
||
| 378 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#remove()">remove</A></B>()</CODE> |
||
| 379 | |||
| 380 | <BR> |
||
| 381 | </TD> |
||
| 382 | </TR> |
||
| 383 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 384 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 385 | <CODE> void</CODE></FONT></TD> |
||
| 386 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#removeChild(int)">removeChild</A></B>(int index)</CODE> |
||
| 387 | |||
| 388 | <BR> |
||
| 389 | </TD> |
||
| 390 | </TR> |
||
| 391 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 392 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 393 | <CODE> void</CODE></FONT></TD> |
||
| 394 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#removeChild(com.badlogic.gdx.utils.XmlReader.Element)">removeChild</A></B>(<A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html" title="class in com.badlogic.gdx.utils">XmlReader.Element</A> child)</CODE> |
||
| 395 | |||
| 396 | <BR> |
||
| 397 | </TD> |
||
| 398 | </TR> |
||
| 399 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 400 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 401 | <CODE> void</CODE></FONT></TD> |
||
| 402 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#setAttribute(java.lang.String, java.lang.String)">setAttribute</A></B>(java.lang.String name, |
||
| 403 | java.lang.String value)</CODE> |
||
| 404 | |||
| 405 | <BR> |
||
| 406 | </TD> |
||
| 407 | </TR> |
||
| 408 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 409 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 410 | <CODE> void</CODE></FONT></TD> |
||
| 411 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#setText(java.lang.String)">setText</A></B>(java.lang.String text)</CODE> |
||
| 412 | |||
| 413 | <BR> |
||
| 414 | </TD> |
||
| 415 | </TR> |
||
| 416 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 417 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 418 | <CODE> java.lang.String</CODE></FONT></TD> |
||
| 419 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#toString()">toString</A></B>()</CODE> |
||
| 420 | |||
| 421 | <BR> |
||
| 422 | </TD> |
||
| 423 | </TR> |
||
| 424 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 425 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 426 | <CODE> java.lang.String</CODE></FONT></TD> |
||
| 427 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html#toString(java.lang.String)">toString</A></B>(java.lang.String indent)</CODE> |
||
| 428 | |||
| 429 | <BR> |
||
| 430 | </TD> |
||
| 431 | </TR> |
||
| 432 | </TABLE> |
||
| 433 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
||
| 434 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 435 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
| 436 | <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> |
||
| 437 | </TR> |
||
| 438 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 439 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD> |
||
| 440 | </TR> |
||
| 441 | </TABLE> |
||
| 442 | |
||
| 443 | <P> |
||
| 444 | |||
| 445 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
||
| 446 | |||
| 447 | <A NAME="constructor_detail"><!-- --></A> |
||
| 448 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 449 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 450 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
||
| 451 | <B>Constructor Detail</B></FONT></TH> |
||
| 452 | </TR> |
||
| 453 | </TABLE> |
||
| 454 | |||
| 455 | <A NAME="XmlReader.Element(java.lang.String, com.badlogic.gdx.utils.XmlReader.Element)"><!-- --></A><H3> |
||
| 456 | XmlReader.Element</H3> |
||
| 457 | <PRE> |
||
| 458 | public <B>XmlReader.Element</B>(java.lang.String name, |
||
| 459 | <A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html" title="class in com.badlogic.gdx.utils">XmlReader.Element</A> parent)</PRE> |
||
| 460 | <DL> |
||
| 461 | </DL> |
||
| 462 | |||
| 463 | <!-- ============ METHOD DETAIL ========== --> |
||
| 464 | |||
| 465 | <A NAME="method_detail"><!-- --></A> |
||
| 466 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 467 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 468 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
||
| 469 | <B>Method Detail</B></FONT></TH> |
||
| 470 | </TR> |
||
| 471 | </TABLE> |
||
| 472 | |||
| 473 | <A NAME="getName()"><!-- --></A><H3> |
||
| 474 | getName</H3> |
||
| 475 | <PRE> |
||
| 476 | public java.lang.String <B>getName</B>()</PRE> |
||
| 477 | <DL> |
||
| 478 | <DD><DL> |
||
| 479 | </DL> |
||
| 480 | </DD> |
||
| 481 | </DL> |
||
| 482 | <HR> |
||
| 483 | |||
| 484 | <A NAME="getAttributes()"><!-- --></A><H3> |
||
| 485 | getAttributes</H3> |
||
| 486 | <PRE> |
||
| 487 | public <A HREF="../../../../com/badlogic/gdx/utils/ObjectMap.html" title="class in com.badlogic.gdx.utils">ObjectMap</A><java.lang.String,java.lang.String> <B>getAttributes</B>()</PRE> |
||
| 488 | <DL> |
||
| 489 | <DD><DL> |
||
| 490 | </DL> |
||
| 491 | </DD> |
||
| 492 | </DL> |
||
| 493 | <HR> |
||
| 494 | |||
| 495 | <A NAME="getAttribute(java.lang.String)"><!-- --></A><H3> |
||
| 496 | getAttribute</H3> |
||
| 497 | <PRE> |
||
| 498 | public java.lang.String <B>getAttribute</B>(java.lang.String name)</PRE> |
||
| 499 | <DL> |
||
| 500 | <DD><DL> |
||
| 501 | |||
| 502 | <DT><B>Throws:</B> |
||
| 503 | <DD><CODE><A HREF="../../../../com/badlogic/gdx/utils/GdxRuntimeException.html" title="class in com.badlogic.gdx.utils">GdxRuntimeException</A></CODE> - if the attribute was not found.</DL> |
||
| 504 | </DD> |
||
| 505 | </DL> |
||
| 506 | <HR> |
||
| 507 | |||
| 508 | <A NAME="getAttribute(java.lang.String, java.lang.String)"><!-- --></A><H3> |
||
| 509 | getAttribute</H3> |
||
| 510 | <PRE> |
||
| 511 | public java.lang.String <B>getAttribute</B>(java.lang.String name, |
||
| 512 | java.lang.String defaultValue)</PRE> |
||
| 513 | <DL> |
||
| 514 | <DD><DL> |
||
| 515 | </DL> |
||
| 516 | </DD> |
||
| 517 | </DL> |
||
| 518 | <HR> |
||
| 519 | |||
| 520 | <A NAME="setAttribute(java.lang.String, java.lang.String)"><!-- --></A><H3> |
||
| 521 | setAttribute</H3> |
||
| 522 | <PRE> |
||
| 523 | public void <B>setAttribute</B>(java.lang.String name, |
||
| 524 | java.lang.String value)</PRE> |
||
| 525 | <DL> |
||
| 526 | <DD><DL> |
||
| 527 | </DL> |
||
| 528 | </DD> |
||
| 529 | </DL> |
||
| 530 | <HR> |
||
| 531 | |||
| 532 | <A NAME="getChildCount()"><!-- --></A><H3> |
||
| 533 | getChildCount</H3> |
||
| 534 | <PRE> |
||
| 535 | public int <B>getChildCount</B>()</PRE> |
||
| 536 | <DL> |
||
| 537 | <DD><DL> |
||
| 538 | </DL> |
||
| 539 | </DD> |
||
| 540 | </DL> |
||
| 541 | <HR> |
||
| 542 | |||
| 543 | <A NAME="getChild(int)"><!-- --></A><H3> |
||
| 544 | getChild</H3> |
||
| 545 | <PRE> |
||
| 546 | public <A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html" title="class in com.badlogic.gdx.utils">XmlReader.Element</A> <B>getChild</B>(int i)</PRE> |
||
| 547 | <DL> |
||
| 548 | <DD><DL> |
||
| 549 | |||
| 550 | <DT><B>Throws:</B> |
||
| 551 | <DD><CODE><A HREF="../../../../com/badlogic/gdx/utils/GdxRuntimeException.html" title="class in com.badlogic.gdx.utils">GdxRuntimeException</A></CODE> - if the element has no children.</DL> |
||
| 552 | </DD> |
||
| 553 | </DL> |
||
| 554 | <HR> |
||
| 555 | |||
| 556 | <A NAME="addChild(com.badlogic.gdx.utils.XmlReader.Element)"><!-- --></A><H3> |
||
| 557 | addChild</H3> |
||
| 558 | <PRE> |
||
| 559 | public void <B>addChild</B>(<A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html" title="class in com.badlogic.gdx.utils">XmlReader.Element</A> element)</PRE> |
||
| 560 | <DL> |
||
| 561 | <DD><DL> |
||
| 562 | </DL> |
||
| 563 | </DD> |
||
| 564 | </DL> |
||
| 565 | <HR> |
||
| 566 | |||
| 567 | <A NAME="getText()"><!-- --></A><H3> |
||
| 568 | getText</H3> |
||
| 569 | <PRE> |
||
| 570 | public java.lang.String <B>getText</B>()</PRE> |
||
| 571 | <DL> |
||
| 572 | <DD><DL> |
||
| 573 | </DL> |
||
| 574 | </DD> |
||
| 575 | </DL> |
||
| 576 | <HR> |
||
| 577 | |||
| 578 | <A NAME="setText(java.lang.String)"><!-- --></A><H3> |
||
| 579 | setText</H3> |
||
| 580 | <PRE> |
||
| 581 | public void <B>setText</B>(java.lang.String text)</PRE> |
||
| 582 | <DL> |
||
| 583 | <DD><DL> |
||
| 584 | </DL> |
||
| 585 | </DD> |
||
| 586 | </DL> |
||
| 587 | <HR> |
||
| 588 | |||
| 589 | <A NAME="removeChild(int)"><!-- --></A><H3> |
||
| 590 | removeChild</H3> |
||
| 591 | <PRE> |
||
| 592 | public void <B>removeChild</B>(int index)</PRE> |
||
| 593 | <DL> |
||
| 594 | <DD><DL> |
||
| 595 | </DL> |
||
| 596 | </DD> |
||
| 597 | </DL> |
||
| 598 | <HR> |
||
| 599 | |||
| 600 | <A NAME="removeChild(com.badlogic.gdx.utils.XmlReader.Element)"><!-- --></A><H3> |
||
| 601 | removeChild</H3> |
||
| 602 | <PRE> |
||
| 603 | public void <B>removeChild</B>(<A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html" title="class in com.badlogic.gdx.utils">XmlReader.Element</A> child)</PRE> |
||
| 604 | <DL> |
||
| 605 | <DD><DL> |
||
| 606 | </DL> |
||
| 607 | </DD> |
||
| 608 | </DL> |
||
| 609 | <HR> |
||
| 610 | |||
| 611 | <A NAME="remove()"><!-- --></A><H3> |
||
| 612 | remove</H3> |
||
| 613 | <PRE> |
||
| 614 | public void <B>remove</B>()</PRE> |
||
| 615 | <DL> |
||
| 616 | <DD><DL> |
||
| 617 | </DL> |
||
| 618 | </DD> |
||
| 619 | </DL> |
||
| 620 | <HR> |
||
| 621 | |||
| 622 | <A NAME="getParent()"><!-- --></A><H3> |
||
| 623 | getParent</H3> |
||
| 624 | <PRE> |
||
| 625 | public <A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html" title="class in com.badlogic.gdx.utils">XmlReader.Element</A> <B>getParent</B>()</PRE> |
||
| 626 | <DL> |
||
| 627 | <DD><DL> |
||
| 628 | </DL> |
||
| 629 | </DD> |
||
| 630 | </DL> |
||
| 631 | <HR> |
||
| 632 | |||
| 633 | <A NAME="toString()"><!-- --></A><H3> |
||
| 634 | toString</H3> |
||
| 635 | <PRE> |
||
| 636 | public java.lang.String <B>toString</B>()</PRE> |
||
| 637 | <DL> |
||
| 638 | <DD><DL> |
||
| 639 | <DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL> |
||
| 640 | </DD> |
||
| 641 | <DD><DL> |
||
| 642 | </DL> |
||
| 643 | </DD> |
||
| 644 | </DL> |
||
| 645 | <HR> |
||
| 646 | |||
| 647 | <A NAME="toString(java.lang.String)"><!-- --></A><H3> |
||
| 648 | toString</H3> |
||
| 649 | <PRE> |
||
| 650 | public java.lang.String <B>toString</B>(java.lang.String indent)</PRE> |
||
| 651 | <DL> |
||
| 652 | <DD><DL> |
||
| 653 | </DL> |
||
| 654 | </DD> |
||
| 655 | </DL> |
||
| 656 | <HR> |
||
| 657 | |||
| 658 | <A NAME="getChildByName(java.lang.String)"><!-- --></A><H3> |
||
| 659 | getChildByName</H3> |
||
| 660 | <PRE> |
||
| 661 | public <A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html" title="class in com.badlogic.gdx.utils">XmlReader.Element</A> <B>getChildByName</B>(java.lang.String name)</PRE> |
||
| 662 | <DL> |
||
| 663 | <DD><DL> |
||
| 664 | <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the child <A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html" title="class in com.badlogic.gdx.utils"><CODE>XmlReader.Element</CODE></A> |
||
| 665 | <DT><B>Returns:</B><DD>the first child having the given name or null, does not recurse</DL> |
||
| 666 | </DD> |
||
| 667 | </DL> |
||
| 668 | <HR> |
||
| 669 | |||
| 670 | <A NAME="getChildByNameRecursive(java.lang.String)"><!-- --></A><H3> |
||
| 671 | getChildByNameRecursive</H3> |
||
| 672 | <PRE> |
||
| 673 | public <A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html" title="class in com.badlogic.gdx.utils">XmlReader.Element</A> <B>getChildByNameRecursive</B>(java.lang.String name)</PRE> |
||
| 674 | <DL> |
||
| 675 | <DD><DL> |
||
| 676 | <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the child <A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html" title="class in com.badlogic.gdx.utils"><CODE>XmlReader.Element</CODE></A> |
||
| 677 | <DT><B>Returns:</B><DD>the first child having the given name or null, recurses</DL> |
||
| 678 | </DD> |
||
| 679 | </DL> |
||
| 680 | <HR> |
||
| 681 | |||
| 682 | <A NAME="getChildrenByName(java.lang.String)"><!-- --></A><H3> |
||
| 683 | getChildrenByName</H3> |
||
| 684 | <PRE> |
||
| 685 | public <A HREF="../../../../com/badlogic/gdx/utils/Array.html" title="class in com.badlogic.gdx.utils">Array</A><<A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html" title="class in com.badlogic.gdx.utils">XmlReader.Element</A>> <B>getChildrenByName</B>(java.lang.String name)</PRE> |
||
| 686 | <DL> |
||
| 687 | <DD><DL> |
||
| 688 | <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the children |
||
| 689 | <DT><B>Returns:</B><DD>the children with the given name or an empty <A HREF="../../../../com/badlogic/gdx/utils/Array.html" title="class in com.badlogic.gdx.utils"><CODE>Array</CODE></A></DL> |
||
| 690 | </DD> |
||
| 691 | </DL> |
||
| 692 | <HR> |
||
| 693 | |||
| 694 | <A NAME="getChildrenByNameRecursively(java.lang.String)"><!-- --></A><H3> |
||
| 695 | getChildrenByNameRecursively</H3> |
||
| 696 | <PRE> |
||
| 697 | public <A HREF="../../../../com/badlogic/gdx/utils/Array.html" title="class in com.badlogic.gdx.utils">Array</A><<A HREF="../../../../com/badlogic/gdx/utils/XmlReader.Element.html" title="class in com.badlogic.gdx.utils">XmlReader.Element</A>> <B>getChildrenByNameRecursively</B>(java.lang.String name)</PRE> |
||
| 698 | <DL> |
||
| 699 | <DD><DL> |
||
| 700 | <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the children |
||
| 701 | <DT><B>Returns:</B><DD>the children with the given name or an empty <A HREF="../../../../com/badlogic/gdx/utils/Array.html" title="class in com.badlogic.gdx.utils"><CODE>Array</CODE></A></DL> |
||
| 702 | </DD> |
||
| 703 | </DL> |
||
| 704 | <HR> |
||
| 705 | |||
| 706 | <A NAME="getFloatAttribute(java.lang.String)"><!-- --></A><H3> |
||
| 707 | getFloatAttribute</H3> |
||
| 708 | <PRE> |
||
| 709 | public float <B>getFloatAttribute</B>(java.lang.String name)</PRE> |
||
| 710 | <DL> |
||
| 711 | <DD><DL> |
||
| 712 | |||
| 713 | <DT><B>Throws:</B> |
||
| 714 | <DD><CODE><A HREF="../../../../com/badlogic/gdx/utils/GdxRuntimeException.html" title="class in com.badlogic.gdx.utils">GdxRuntimeException</A></CODE> - if the attribute was not found.</DL> |
||
| 715 | </DD> |
||
| 716 | </DL> |
||
| 717 | <HR> |
||
| 718 | |||
| 719 | <A NAME="getFloatAttribute(java.lang.String, float)"><!-- --></A><H3> |
||
| 720 | getFloatAttribute</H3> |
||
| 721 | <PRE> |
||
| 722 | public float <B>getFloatAttribute</B>(java.lang.String name, |
||
| 723 | float defaultValue)</PRE> |
||
| 724 | <DL> |
||
| 725 | <DD><DL> |
||
| 726 | </DL> |
||
| 727 | </DD> |
||
| 728 | </DL> |
||
| 729 | <HR> |
||
| 730 | |||
| 731 | <A NAME="getIntAttribute(java.lang.String)"><!-- --></A><H3> |
||
| 732 | getIntAttribute</H3> |
||
| 733 | <PRE> |
||
| 734 | public int <B>getIntAttribute</B>(java.lang.String name)</PRE> |
||
| 735 | <DL> |
||
| 736 | <DD><DL> |
||
| 737 | |||
| 738 | <DT><B>Throws:</B> |
||
| 739 | <DD><CODE><A HREF="../../../../com/badlogic/gdx/utils/GdxRuntimeException.html" title="class in com.badlogic.gdx.utils">GdxRuntimeException</A></CODE> - if the attribute was not found.</DL> |
||
| 740 | </DD> |
||
| 741 | </DL> |
||
| 742 | <HR> |
||
| 743 | |||
| 744 | <A NAME="getIntAttribute(java.lang.String, int)"><!-- --></A><H3> |
||
| 745 | getIntAttribute</H3> |
||
| 746 | <PRE> |
||
| 747 | public int <B>getIntAttribute</B>(java.lang.String name, |
||
| 748 | int defaultValue)</PRE> |
||
| 749 | <DL> |
||
| 750 | <DD><DL> |
||
| 751 | </DL> |
||
| 752 | </DD> |
||
| 753 | </DL> |
||
| 754 | <HR> |
||
| 755 | |||
| 756 | <A NAME="getBooleanAttribute(java.lang.String)"><!-- --></A><H3> |
||
| 757 | getBooleanAttribute</H3> |
||
| 758 | <PRE> |
||
| 759 | public boolean <B>getBooleanAttribute</B>(java.lang.String name)</PRE> |
||
| 760 | <DL> |
||
| 761 | <DD><DL> |
||
| 762 | |||
| 763 | <DT><B>Throws:</B> |
||
| 764 | <DD><CODE><A HREF="../../../../com/badlogic/gdx/utils/GdxRuntimeException.html" title="class in com.badlogic.gdx.utils">GdxRuntimeException</A></CODE> - if the attribute was not found.</DL> |
||
| 765 | </DD> |
||
| 766 | </DL> |
||
| 767 | <HR> |
||
| 768 | |||
| 769 | <A NAME="getBooleanAttribute(java.lang.String, boolean)"><!-- --></A><H3> |
||
| 770 | getBooleanAttribute</H3> |
||
| 771 | <PRE> |
||
| 772 | public boolean <B>getBooleanAttribute</B>(java.lang.String name, |
||
| 773 | boolean defaultValue)</PRE> |
||
| 774 | <DL> |
||
| 775 | <DD><DL> |
||
| 776 | </DL> |
||
| 777 | </DD> |
||
| 778 | </DL> |
||
| 779 | <HR> |
||
| 780 | |||
| 781 | <A NAME="get(java.lang.String)"><!-- --></A><H3> |
||
| 782 | get</H3> |
||
| 783 | <PRE> |
||
| 784 | public java.lang.String <B>get</B>(java.lang.String name)</PRE> |
||
| 785 | <DL> |
||
| 786 | <DD>Returns the attribute value with the specified name, or if no attribute is found, the text of a child with the name. |
||
| 787 | <P> |
||
| 788 | <DD><DL> |
||
| 789 | |||
| 790 | <DT><B>Throws:</B> |
||
| 791 | <DD><CODE><A HREF="../../../../com/badlogic/gdx/utils/GdxRuntimeException.html" title="class in com.badlogic.gdx.utils">GdxRuntimeException</A></CODE> - if no attribute or child was not found.</DL> |
||
| 792 | </DD> |
||
| 793 | </DL> |
||
| 794 | <HR> |
||
| 795 | |||
| 796 | <A NAME="get(java.lang.String, java.lang.String)"><!-- --></A><H3> |
||
| 797 | get</H3> |
||
| 798 | <PRE> |
||
| 799 | public java.lang.String <B>get</B>(java.lang.String name, |
||
| 800 | java.lang.String defaultValue)</PRE> |
||
| 801 | <DL> |
||
| 802 | <DD>Returns the attribute value with the specified name, or if no attribute is found, the text of a child with the name. |
||
| 803 | <P> |
||
| 804 | <DD><DL> |
||
| 805 | |||
| 806 | <DT><B>Throws:</B> |
||
| 807 | <DD><CODE><A HREF="../../../../com/badlogic/gdx/utils/GdxRuntimeException.html" title="class in com.badlogic.gdx.utils">GdxRuntimeException</A></CODE> - if no attribute or child was not found.</DL> |
||
| 808 | </DD> |
||
| 809 | </DL> |
||
| 810 | <HR> |
||
| 811 | |||
| 812 | <A NAME="getInt(java.lang.String)"><!-- --></A><H3> |
||
| 813 | getInt</H3> |
||
| 814 | <PRE> |
||
| 815 | public int <B>getInt</B>(java.lang.String name)</PRE> |
||
| 816 | <DL> |
||
| 817 | <DD>Returns the attribute value with the specified name, or if no attribute is found, the text of a child with the name. |
||
| 818 | <P> |
||
| 819 | <DD><DL> |
||
| 820 | |||
| 821 | <DT><B>Throws:</B> |
||
| 822 | <DD><CODE><A HREF="../../../../com/badlogic/gdx/utils/GdxRuntimeException.html" title="class in com.badlogic.gdx.utils">GdxRuntimeException</A></CODE> - if no attribute or child was not found.</DL> |
||
| 823 | </DD> |
||
| 824 | </DL> |
||
| 825 | <HR> |
||
| 826 | |||
| 827 | <A NAME="getInt(java.lang.String, int)"><!-- --></A><H3> |
||
| 828 | getInt</H3> |
||
| 829 | <PRE> |
||
| 830 | public int <B>getInt</B>(java.lang.String name, |
||
| 831 | int defaultValue)</PRE> |
||
| 832 | <DL> |
||
| 833 | <DD>Returns the attribute value with the specified name, or if no attribute is found, the text of a child with the name. |
||
| 834 | <P> |
||
| 835 | <DD><DL> |
||
| 836 | |||
| 837 | <DT><B>Throws:</B> |
||
| 838 | <DD><CODE><A HREF="../../../../com/badlogic/gdx/utils/GdxRuntimeException.html" title="class in com.badlogic.gdx.utils">GdxRuntimeException</A></CODE> - if no attribute or child was not found.</DL> |
||
| 839 | </DD> |
||
| 840 | </DL> |
||
| 841 | <HR> |
||
| 842 | |||
| 843 | <A NAME="getFloat(java.lang.String)"><!-- --></A><H3> |
||
| 844 | getFloat</H3> |
||
| 845 | <PRE> |
||
| 846 | public float <B>getFloat</B>(java.lang.String name)</PRE> |
||
| 847 | <DL> |
||
| 848 | <DD>Returns the attribute value with the specified name, or if no attribute is found, the text of a child with the name. |
||
| 849 | <P> |
||
| 850 | <DD><DL> |
||
| 851 | |||
| 852 | <DT><B>Throws:</B> |
||
| 853 | <DD><CODE><A HREF="../../../../com/badlogic/gdx/utils/GdxRuntimeException.html" title="class in com.badlogic.gdx.utils">GdxRuntimeException</A></CODE> - if no attribute or child was not found.</DL> |
||
| 854 | </DD> |
||
| 855 | </DL> |
||
| 856 | <HR> |
||
| 857 | |||
| 858 | <A NAME="getFloat(java.lang.String, float)"><!-- --></A><H3> |
||
| 859 | getFloat</H3> |
||
| 860 | <PRE> |
||
| 861 | public float <B>getFloat</B>(java.lang.String name, |
||
| 862 | float defaultValue)</PRE> |
||
| 863 | <DL> |
||
| 864 | <DD>Returns the attribute value with the specified name, or if no attribute is found, the text of a child with the name. |
||
| 865 | <P> |
||
| 866 | <DD><DL> |
||
| 867 | |||
| 868 | <DT><B>Throws:</B> |
||
| 869 | <DD><CODE><A HREF="../../../../com/badlogic/gdx/utils/GdxRuntimeException.html" title="class in com.badlogic.gdx.utils">GdxRuntimeException</A></CODE> - if no attribute or child was not found.</DL> |
||
| 870 | </DD> |
||
| 871 | </DL> |
||
| 872 | <HR> |
||
| 873 | |||
| 874 | <A NAME="getBoolean(java.lang.String)"><!-- --></A><H3> |
||
| 875 | getBoolean</H3> |
||
| 876 | <PRE> |
||
| 877 | public boolean <B>getBoolean</B>(java.lang.String name)</PRE> |
||
| 878 | <DL> |
||
| 879 | <DD>Returns the attribute value with the specified name, or if no attribute is found, the text of a child with the name. |
||
| 880 | <P> |
||
| 881 | <DD><DL> |
||
| 882 | |||
| 883 | <DT><B>Throws:</B> |
||
| 884 | <DD><CODE><A HREF="../../../../com/badlogic/gdx/utils/GdxRuntimeException.html" title="class in com.badlogic.gdx.utils">GdxRuntimeException</A></CODE> - if no attribute or child was not found.</DL> |
||
| 885 | </DD> |
||
| 886 | </DL> |
||
| 887 | <HR> |
||
| 888 | |||
| 889 | <A NAME="getBoolean(java.lang.String, boolean)"><!-- --></A><H3> |
||
| 890 | getBoolean</H3> |
||
| 891 | <PRE> |
||
| 892 | public boolean <B>getBoolean</B>(java.lang.String name, |
||
| 893 | boolean defaultValue)</PRE> |
||
| 894 | <DL> |
||
| 895 | <DD>Returns the attribute value with the specified name, or if no attribute is found, the text of a child with the name. |
||
| 896 | <P> |
||
| 897 | <DD><DL> |
||
| 898 | |||
| 899 | <DT><B>Throws:</B> |
||
| 900 | <DD><CODE><A HREF="../../../../com/badlogic/gdx/utils/GdxRuntimeException.html" title="class in com.badlogic.gdx.utils">GdxRuntimeException</A></CODE> - if no attribute or child was not found.</DL> |
||
| 901 | </DD> |
||
| 902 | </DL> |
||
| 903 | <!-- ========= END OF CLASS DATA ========= --> |
||
| 904 | <HR> |
||
| 905 | |||
| 906 | |||
| 907 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
||
| 908 | <A NAME="navbar_bottom"><!-- --></A> |
||
| 909 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
||
| 910 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
||
| 911 | <TR> |
||
| 912 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
||
| 913 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
||
| 914 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
||
| 915 | <TR ALIGN="center" VALIGN="top"> |
||
| 916 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
||
| 917 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
| 918 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
| 919 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XmlReader.Element.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
||
| 920 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
| 921 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
| 922 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
| 923 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
||
| 924 | </TR> |
||
| 925 | </TABLE> |
||
| 926 | </TD> |
||
| 927 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
||
| 928 | libgdx API</EM> |
||
| 929 | </TD> |
||
| 930 | </TR> |
||
| 931 | |||
| 932 | <TR> |
||
| 933 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
| 934 | <A HREF="../../../../com/badlogic/gdx/utils/XmlReader.html" title="class in com.badlogic.gdx.utils"><B>PREV CLASS</B></A> |
||
| 935 | <A HREF="../../../../com/badlogic/gdx/utils/XmlWriter.html" title="class in com.badlogic.gdx.utils"><B>NEXT CLASS</B></A></FONT></TD> |
||
| 936 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
| 937 | <A HREF="../../../../index.html?com/badlogic/gdx/utils/XmlReader.Element.html" target="_top"><B>FRAMES</B></A> |
||
| 938 | <A HREF="XmlReader.Element.html" target="_top"><B>NO FRAMES</B></A> |
||
| 939 | <SCRIPT type="text/javascript"> |
||
| 940 | <!-- |
||
| 941 | if(window==top) { |
||
| 942 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
||
| 943 | } |
||
| 944 | //--> |
||
| 945 | </SCRIPT> |
||
| 946 | <NOSCRIPT> |
||
| 947 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
||
| 948 | </NOSCRIPT> |
||
| 949 | |||
| 950 | |||
| 951 | </FONT></TD> |
||
| 952 | </TR> |
||
| 953 | <TR> |
||
| 954 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
| 955 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
| 956 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
| 957 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
||
| 958 | </TR> |
||
| 959 | </TABLE> |
||
| 960 | <A NAME="skip-navbar_bottom"></A> |
||
| 961 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
||
| 962 | |||
| 963 | <HR> |
||
| 964 | |||
| 965 | <div style="font-size:9pt"><i> |
||
| 966 | Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) |
||
| 967 | </i></div> |
||
| 968 | |||
| 969 | </BODY> |
||
| 970 | </HTML> |