eu.etaxonomy.cdm.remote.json.processor.bean
Class LuceneDocumentBeanProcessor
java.lang.Object
eu.etaxonomy.cdm.remote.json.processor.bean.AbstractBeanProcessor<org.apache.lucene.document.Document>
eu.etaxonomy.cdm.remote.json.processor.bean.LuceneDocumentBeanProcessor
- All Implemented Interfaces:
- net.sf.json.processors.JsonBeanProcessor
public class LuceneDocumentBeanProcessor
- extends AbstractBeanProcessor<org.apache.lucene.document.Document>
- Author:
- Andreas Kohlbecker
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LuceneDocumentBeanProcessor
public LuceneDocumentBeanProcessor()
getIgnorePropNames
public List 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<org.apache.lucene.document.Document>
- Returns:
- a List of property names.
processBeanSecondStep
public net.sf.json.JSONObject processBeanSecondStep(org.apache.lucene.document.Document document,
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<org.apache.lucene.document.Document>
- Returns:
Copyright © 2007-2013 EDIT. All Rights Reserved.