eu.etaxonomy.cdm.remote.json.processor.bean
Class PointBeanProcessor

java.lang.Object
  extended by eu.etaxonomy.cdm.remote.json.processor.bean.AbstractBeanProcessor<Point>
      extended by eu.etaxonomy.cdm.remote.json.processor.bean.PointBeanProcessor
All Implemented Interfaces:
net.sf.json.processors.JsonBeanProcessor

public class PointBeanProcessor
extends AbstractBeanProcessor<Point>

Author:
a.kohlbecker

Field Summary
 
Fields inherited from class eu.etaxonomy.cdm.remote.json.processor.bean.AbstractBeanProcessor
logger
 
Constructor Summary
PointBeanProcessor()
           
 
Method Summary
 List<String> getIgnorePropNames()
          Implementations of this abstract class may override this method in order to supply a List of property names to be ignored in AbstractBeanProcessor.processBean(Object, JsonConfig).
 net.sf.json.JSONObject processBeanSecondStep(Point bean, net.sf.json.JSONObject json, net.sf.json.JsonConfig jsonConfig)
          This method is called ate the end of AbstractBeanProcessor.processBean(Object, JsonConfig) just before the JSONObject is returned.
 
Methods inherited from class eu.etaxonomy.cdm.remote.json.processor.bean.AbstractBeanProcessor
addJsonElement, getExcludes, getMergedExcludes, processBean, setExcludes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointBeanProcessor

public PointBeanProcessor()
Method Detail

getIgnorePropNames

public List<String> getIgnorePropNames()
Description copied from class: AbstractBeanProcessor
Implementations of this abstract class may override this method in order to supply a List of property names to be ignored in AbstractBeanProcessor.processBean(Object, JsonConfig). This feature generally is used when #processBeanSecondStep(CdmBase, JSONObject, JsonConfig) is implemented. such that this method is responsible of serializing this property.

Specified by:
getIgnorePropNames in class AbstractBeanProcessor<Point>
Returns:
a List of property names.

processBeanSecondStep

public net.sf.json.JSONObject processBeanSecondStep(Point bean,
                                                    net.sf.json.JSONObject json,
                                                    net.sf.json.JsonConfig jsonConfig)
Description copied from class: AbstractBeanProcessor
This method is called ate the end of AbstractBeanProcessor.processBean(Object, JsonConfig) just before the JSONObject is returned. By overriding this method it is possible to to further processing.

See also AbstractBeanProcessor.getIgnorePropNames()!

Specified by:
processBeanSecondStep in class AbstractBeanProcessor<Point>
Returns:


Copyright © 2007-2013 EDIT. All Rights Reserved.