Project

General

Profile

Download (1.09 KB) Statistics
| Branch: | Tag: | Revision:
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
 * @date Nov 21, 2013
19
 *
20
 */
21
public class DefaultBeanProcessor extends AbstractBeanProcessor {
22

    
23
    /* (non-Javadoc)
24
     * @see eu.etaxonomy.cdm.remote.json.processor.bean.AbstractBeanProcessor#getIgnorePropNames()
25
     */
26
    @Override
27
    public List getIgnorePropNames() {
28
        // nothing to ignore by default
29
        return null;
30
    }
31

    
32
    /* (non-Javadoc)
33
     * @see eu.etaxonomy.cdm.remote.json.processor.bean.AbstractBeanProcessor#processBeanSecondStep(java.lang.Object, net.sf.json.JSONObject, net.sf.json.JsonConfig)
34
     */
35
    @Override
36
    public JSONObject processBeanSecondStep(Object bean, JSONObject json, JsonConfig jsonConfig) {
37
        return json;
38
    }
39

    
40
}
(4-4/25)