org.topbraid.sparqlmotion.modules.impl
Class AbstractRDFInputOutputModule

java.lang.Object
  extended by org.topbraid.sparqlmotion.modules.impl.AbstractModule
      extended by org.topbraid.sparqlmotion.modules.impl.AbstractRDFInputModule
          extended by org.topbraid.sparqlmotion.modules.impl.AbstractRDFInputOutputModule
All Implemented Interfaces:
IModule, IOutputModule, IRDFInputModule, IRDFOutputModule
Direct Known Subclasses:
LoadRDFFromSpreadsheetModule

public abstract class AbstractRDFInputOutputModule
extends AbstractRDFInputModule
implements IRDFOutputModule


Field Summary
 
Fields inherited from class org.topbraid.sparqlmotion.modules.impl.AbstractModule
inputModules
 
Constructor Summary
AbstractRDFInputOutputModule()
           
 
Method Summary
protected abstract  com.hp.hpl.jena.graph.Graph createGraph(org.eclipse.core.runtime.IProgressMonitor monitor)
           
protected  com.hp.hpl.jena.graph.Graph executeBody(com.hp.hpl.jena.rdf.model.Resource bodyConfig, com.hp.hpl.jena.rdf.model.Model queryModel, java.lang.String var, com.hp.hpl.jena.rdf.model.RDFNode value, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 com.hp.hpl.jena.graph.Graph getRDFOutput(org.eclipse.core.runtime.IProgressMonitor monitor)
           
 
Methods inherited from class org.topbraid.sparqlmotion.modules.impl.AbstractRDFInputModule
getInputModules, getRDFInput, getRDFInputModel, getRDFOutputPredecessors, setDefaultInputGraph
 
Methods inherited from class org.topbraid.sparqlmotion.modules.impl.AbstractModule
bindInputURL, bindInputURL, createError, dumpNamespaces, getConfig, getConfigBoolean, getConfigFile, getConfigResource, getConfigString, getContext, getModuleLabel, getQueryStrings, getVarInsertion, init, moni, setContext, setInputModules, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.topbraid.sparqlmotion.modules.IModule
getConfig, getContext, getInputModules, init, setContext, setInputModules, validate
 

Constructor Detail

AbstractRDFInputOutputModule

public AbstractRDFInputOutputModule()
Method Detail

createGraph

protected abstract com.hp.hpl.jena.graph.Graph createGraph(org.eclipse.core.runtime.IProgressMonitor monitor)
                                                    throws java.lang.Throwable
Throws:
java.lang.Throwable

executeBody

protected com.hp.hpl.jena.graph.Graph executeBody(com.hp.hpl.jena.rdf.model.Resource bodyConfig,
                                                  com.hp.hpl.jena.rdf.model.Model queryModel,
                                                  java.lang.String var,
                                                  com.hp.hpl.jena.rdf.model.RDFNode value,
                                                  org.eclipse.core.runtime.IProgressMonitor monitor)
                                           throws java.lang.Throwable
Throws:
java.lang.Throwable

getRDFOutput

public com.hp.hpl.jena.graph.Graph getRDFOutput(org.eclipse.core.runtime.IProgressMonitor monitor)
                                         throws java.lang.Throwable
Specified by:
getRDFOutput in interface IRDFOutputModule
Throws:
java.lang.Throwable