Class MemberDictionary
- java.lang.Object
-
- com.thoughtworks.xstream.core.util.MemberDictionary
-
public class MemberDictionary extends java.lang.ObjectA dictionary for member information of types.- Since:
- 1.4.21
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Maptypes
-
Constructor Summary
Constructors Constructor Description MemberDictionary()Constructs an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(java.lang.Class definedIn, java.lang.String member)Add the member of the type into the dictionary.booleancontains(java.lang.Class definedIn, java.lang.String member)Checks the existence of the member of a type in the dictionary.
-
-
-
Method Detail
-
add
public boolean add(java.lang.Class definedIn, java.lang.String member)Add the member of the type into the dictionary.- Parameters:
definedIn- the type owning the member or nullmember- the member name- Returns:
- true if the member has been added to the dictionary
- Since:
- 1.4.21
-
contains
public boolean contains(java.lang.Class definedIn, java.lang.String member)Checks the existence of the member of a type in the dictionary.- Parameters:
definedIn- the type owning the member or nullmember- the member name- Returns:
- true if the member is in the dictionary
- Since:
- 1.4.21
-
-