PageRenderTime 52ms CodeModel.GetById 15ms app.highlight 29ms RepoModel.GetById 1ms app.codeStats 1ms

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