org.gcube.data.spd.gbifplugin.search
Class OccurrenceSearch

java.lang.Object
  extended by org.gcube.data.spd.gbifplugin.search.AbstractSearch<org.gcube.data.spd.model.products.OccurrencePoint>
      extended by org.gcube.data.spd.gbifplugin.search.OccurrenceSearch

public class OccurrenceSearch
extends AbstractSearch<org.gcube.data.spd.model.products.OccurrencePoint>


Field Summary
 
Fields inherited from class org.gcube.data.spd.gbifplugin.search.AbstractSearch
dataSetKey, elementsTag, ifactory, properties, providerKey
 
Constructor Summary
OccurrenceSearch(String baseUrl, org.gcube.data.spd.model.Condition... properties)
           
 
Method Summary
protected  List<org.gcube.data.spd.model.products.OccurrencePoint> retrieveElements(XMLEventReader eventReader, boolean b, org.gcube.data.spd.model.products.DataSet dataset)
           
 void search(org.gcube.data.spd.plugin.fwk.writers.ObjectWriter<org.gcube.data.spd.model.products.OccurrencePoint> writer, String scientificName)
           
 org.gcube.data.spd.model.products.OccurrencePoint searchById(String id)
           
 void searchByKey(org.gcube.data.spd.plugin.fwk.writers.ObjectWriter<org.gcube.data.spd.model.products.OccurrencePoint> writer, String key)
           
 
Methods inherited from class org.gcube.data.spd.gbifplugin.search.AbstractSearch
search
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OccurrenceSearch

public OccurrenceSearch(String baseUrl,
                        org.gcube.data.spd.model.Condition... properties)
                 throws Exception
Throws:
Exception
Method Detail

search

public void search(org.gcube.data.spd.plugin.fwk.writers.ObjectWriter<org.gcube.data.spd.model.products.OccurrencePoint> writer,
                   String scientificName)
            throws Exception
Throws:
Exception

searchByKey

public void searchByKey(org.gcube.data.spd.plugin.fwk.writers.ObjectWriter<org.gcube.data.spd.model.products.OccurrencePoint> writer,
                        String key)
                 throws Exception
Throws:
Exception

searchById

public org.gcube.data.spd.model.products.OccurrencePoint searchById(String id)
                                                             throws Exception
Throws:
Exception

retrieveElements

protected List<org.gcube.data.spd.model.products.OccurrencePoint> retrieveElements(XMLEventReader eventReader,
                                                                                   boolean b,
                                                                                   org.gcube.data.spd.model.products.DataSet dataset)
                                                                            throws Exception
Specified by:
retrieveElements in class AbstractSearch<org.gcube.data.spd.model.products.OccurrencePoint>
Throws:
Exception


Copyright © 2013. All Rights Reserved.