public class LuceneDocumentBeanProcessor extends AbstractBeanProcessor<org.apache.lucene.document.Document>
logger
Constructor and Description |
---|
LuceneDocumentBeanProcessor() |
Modifier and Type | Method and Description |
---|---|
java.util.List |
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(org.apache.lucene.document.Document document,
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. |
addJsonElement, getExcludes, getMergedExcludes, processBean, setExcludes
public java.util.List 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<org.apache.lucene.document.Document>
public net.sf.json.JSONObject processBeanSecondStep(org.apache.lucene.document.Document document, 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<org.apache.lucene.document.Document>
Copyright © 2007-2020 EDIT. All Rights Reserved.