Class GwtReflectorMap
java.lang.Object
de.knightsoftnet.validators.client.GwtReflectorMap
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GwtReflectorMap
public GwtReflectorMap()
-
-
Method Details
-
put
put entry into map.- Parameters:
clazz- class to get data frommap- field value map
-
get
public static Object get(Class<?> clazz, String fieldName) throws NoSuchMethodException, ReflectiveOperationException read entry from reflector map.- Parameters:
clazz- class to get data fromfieldName- name of the field to get value from- Returns:
- object
- Throws:
NoSuchMethodException- if no getter exists for fieldNameReflectiveOperationException- if class is not reflected
-