org.topbraid.spreadsheets.module
Class LoadRDFFromSpreadsheetModule

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
              extended by org.topbraid.spreadsheets.module.LoadRDFFromSpreadsheetModule
All Implemented Interfaces:
IExecutableModule, IModule, IOutputModule, IRDFInputModule, IRDFOutputModule

public class LoadRDFFromSpreadsheetModule
extends AbstractRDFInputOutputModule
implements IExecutableModule


Field Summary
 
Fields inherited from class org.topbraid.sparqlmotion.modules.impl.AbstractModule
inputModules
 
Constructor Summary
LoadRDFFromSpreadsheetModule()
           
 
Method Summary
protected  com.hp.hpl.jena.graph.Graph createGraph(org.eclipse.core.runtime.IProgressMonitor monitor)
           
 boolean execute(org.eclipse.core.runtime.IProgressMonitor monitor)
          Executes this module.
 
Methods inherited from class org.topbraid.sparqlmotion.modules.impl.AbstractRDFInputOutputModule
executeBody, getRDFOutput
 
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

LoadRDFFromSpreadsheetModule

public LoadRDFFromSpreadsheetModule()
Method Detail

createGraph

protected com.hp.hpl.jena.graph.Graph createGraph(org.eclipse.core.runtime.IProgressMonitor monitor)
                                           throws java.lang.Throwable
Specified by:
createGraph in class AbstractRDFInputOutputModule
Throws:
java.lang.Throwable

execute

public boolean execute(org.eclipse.core.runtime.IProgressMonitor monitor)
                throws java.lang.Throwable
Description copied from interface: IExecutableModule
Executes this module. Execution the module may in fact consist of multiple steps, e.g. the module may ask the (TBL) client to enter a value. In this case the execution engine must interrupt and wait for a client response. To support this, this module should maintain a state object and implementations may add extra functions for the other steps.

Specified by:
execute in interface IExecutableModule
Parameters:
monitor - the progress monitor
Returns:
true if the execution was not fully completed yet
Throws:
java.lang.Throwable - typically InterruptedException or an error message