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

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

public class TaxonNameBaseBeanProcessor
extends AbstractCdmBeanProcessor<TaxonNameBase>

Author:
a.kohlbecker

Field Summary
static Logger logger
           
 
Constructor Summary
TaxonNameBaseBeanProcessor()
           
 
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(TaxonNameBase 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
 

Field Detail

logger

public static final Logger logger
Constructor Detail

TaxonNameBaseBeanProcessor

public TaxonNameBaseBeanProcessor()
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<TaxonNameBase>
Returns:
a List of property names.

processBeanSecondStep

public net.sf.json.JSONObject processBeanSecondStep(TaxonNameBase 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<TaxonNameBase>
Returns:


Copyright © 2007-2013 EDIT. All Rights Reserved.