/Prototipo/Servlet/lib/xstream-distribution-1.4.1-bin/xstream-1.4.1/docs/javadoc/com/thoughtworks/xstream/converters/reflection/FieldDictionary.html

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