public class TermBaseBeanProcessor extends AbstractCdmBeanProcessor<TermBase>
Constructor and Description |
---|
TermBaseBeanProcessor() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.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) . |
boolean |
isReplaceRepresentations() |
net.sf.json.JSONObject |
processBeanSecondStep(TermBase term,
net.sf.json.JSONObject json,
net.sf.json.JsonConfig jsonConfig)
This method is called at the end of
AbstractBeanProcessor.processBean(Object, JsonConfig) just before the JSONObject is returned. |
void |
setReplaceRepresentations(boolean replace) |
addJsonElement, getExcludes, getMergedExcludes, processBean, setExcludes
public static final Logger logger
public boolean isReplaceRepresentations()
public void setReplaceRepresentations(boolean replace)
public java.util.List<java.lang.String> getIgnorePropNames()
AbstractBeanProcessor
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.getIgnorePropNames
in class AbstractBeanProcessor<TermBase>
public net.sf.json.JSONObject processBeanSecondStep(TermBase term, net.sf.json.JSONObject json, net.sf.json.JsonConfig jsonConfig)
AbstractBeanProcessor
AbstractBeanProcessor.processBean(Object, JsonConfig)
just before the JSONObject is returned.
By overriding this method it is possible to do further processing.
processBeanSecondStep
in class AbstractBeanProcessor<TermBase>
Copyright © 2007-2020 EDIT. All Rights Reserved.