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

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

public class TaxonRelationshipBeanProcessor
extends AbstractCdmBeanProcessor<TaxonRelationship>

Author:
a.kohlbecker

Field Summary
 
Fields inherited from class eu.etaxonomy.cdm.remote.json.processor.bean.AbstractBeanProcessor
logger
 
Constructor Summary
TaxonRelationshipBeanProcessor()
           
 
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(TaxonRelationship 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

TaxonRelationshipBeanProcessor

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

processBeanSecondStep

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


Copyright © 2007-2013 EDIT. All Rights Reserved.