Package org.apache.struts2.json
Class JSONPopulator
java.lang.Object
org.apache.struts2.json.JSONPopulator
Isolate the process of populating JSON objects from the Interceptor class
 itself.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidpopulateObject(Object object, Map elements) voidsetDateFormat(String dateFormat) 
- 
Constructor Details- 
JSONPopulatorpublic JSONPopulator()
- 
JSONPopulator
 
- 
- 
Method Details- 
getDateFormat
- 
setDateFormat
- 
populateObjectpublic void populateObject(Object object, Map elements) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException, IntrospectionException, IllegalArgumentException, JSONException, InstantiationException 
- 
convertpublic Object convert(Class clazz, Type type, Object value, Method method) throws IllegalArgumentException, JSONException, IllegalAccessException, InvocationTargetException, InstantiationException, NoSuchMethodException, IntrospectionException 
 
-