|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.thoughtworks.xstream.converters.reflection.FieldDictionary
public class FieldDictionary
A field dictionary instance caches information about classes fields.
Constructor Summary | |
---|---|
FieldDictionary()
|
Method Summary | |
---|---|
java.lang.reflect.Field |
field(java.lang.Class cls,
java.lang.String name,
java.lang.Class definedIn)
Returns an specific field of some class. |
java.util.Iterator |
serializableFieldsFor(java.lang.Class cls)
Returns an iterator for all serializable fields for some class |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FieldDictionary()
Method Detail |
---|
public java.util.Iterator serializableFieldsFor(java.lang.Class cls)
cls
- the class you are interested on
public java.lang.reflect.Field field(java.lang.Class cls, java.lang.String name, java.lang.Class definedIn)
cls
- the class where the field is to be searchedname
- the field namedefinedIn
- the superclass (or the class itself) of cls where the field was defined
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |