1
|
/**
|
2
|
* Copyright (C) 2013 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
6
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
7
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
8
|
*/
|
9
|
package eu.etaxonomy.cdm.remote.json.processor.bean;
|
10
|
|
11
|
import java.util.List;
|
12
|
|
13
|
import net.sf.json.JSONObject;
|
14
|
import net.sf.json.JsonConfig;
|
15
|
|
16
|
/**
|
17
|
* @author a.kohlbecker
|
18
|
* @since Nov 21, 2013
|
19
|
*
|
20
|
*/
|
21
|
public class DefaultBeanProcessor extends AbstractBeanProcessor<Object> {
|
22
|
|
23
|
@Override
|
24
|
public List<String> getIgnorePropNames() {
|
25
|
// nothing to ignore by default
|
26
|
return null;
|
27
|
}
|
28
|
|
29
|
@Override
|
30
|
public JSONObject processBeanSecondStep(Object bean, JSONObject jsonObj, JsonConfig jsonConfig) {
|
31
|
return jsonObj;
|
32
|
}
|
33
|
|
34
|
}
|