org.gcube.data.spd.gbifplugin.search
Class AbstractSearch<T>

java.lang.Object
  extended by org.gcube.data.spd.gbifplugin.search.AbstractSearch<T>
Direct Known Subclasses:
GBIFSearch, OccurrenceSearch

public abstract class AbstractSearch<T>
extends Object


Field Summary
protected  String dataSetKey
           
protected  String elementsTag
           
protected static XMLInputFactory ifactory
           
protected  org.gcube.data.spd.model.Condition[] properties
           
protected  String providerKey
           
 
Constructor Summary
AbstractSearch(String elementsTag, org.gcube.data.spd.model.Condition... properties)
           
 
Method Summary
protected abstract  List<T> retrieveElements(XMLEventReader eventReader, boolean b, org.gcube.data.spd.model.products.DataSet dataset)
           
protected  void search(org.gcube.data.spd.plugin.fwk.writers.ObjectWriter<T> writer, URL searchUrl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ifactory

protected static XMLInputFactory ifactory

providerKey

protected String providerKey

dataSetKey

protected String dataSetKey

elementsTag

protected String elementsTag

properties

protected org.gcube.data.spd.model.Condition[] properties
Constructor Detail

AbstractSearch

public AbstractSearch(String elementsTag,
                      org.gcube.data.spd.model.Condition... properties)
Method Detail

search

protected void search(org.gcube.data.spd.plugin.fwk.writers.ObjectWriter<T> writer,
                      URL searchUrl)
               throws Exception
Throws:
Exception

retrieveElements

protected abstract List<T> retrieveElements(XMLEventReader eventReader,
                                            boolean b,
                                            org.gcube.data.spd.model.products.DataSet dataset)
                                     throws Exception
Throws:
Exception


Copyright © 2013. All Rights Reserved.