Commits

Sam Adams committed a0beaf6

Refactored ContentHandler and SearchProvider registration

  • Participants
  • Parent commits 39dce93

Comments (0)

Files changed (1)

File chemistry-search-structure/src/main/java/uk/ac/cam/ch/wwmm/chempound/webapp/search/chemistry/StructureSearchProvider.java

 import org.xmlcml.cml.tools.SMILESTool;
 import uk.ac.cam.ch.wwmm.chempound.chemistry.inchi.InchiTool;
 import uk.ac.cam.ch.wwmm.chempound.rdf.cml.CmlRdf;
-import uk.ac.cam.ch.wwmm.chempound.webapp.search.SearchProvider;
+import uk.ac.cam.ch.wwmm.chempound.webapp.search.AbstractSearchProvider;
 import uk.ac.cam.ch.wwmm.chempound.webapp.search.SparqlQuery;
 
 import java.io.IOException;
 /**
  * @author Sam Adams
  */
-public class StructureSearchProvider implements SearchProvider {
+public class StructureSearchProvider extends AbstractSearchProvider {
 
     @Override
     public String getId() {