org.topbraid.sparqlmotion.modules.impl
Class AbstractRDFInputModule
java.lang.Object
org.topbraid.sparqlmotion.modules.impl.AbstractModule
org.topbraid.sparqlmotion.modules.impl.AbstractRDFInputModule
- All Implemented Interfaces:
- IModule, IRDFInputModule
- Direct Known Subclasses:
- AbstractRDFInputOutputModule, AbstractWriteToSesameRepositoryModule
public abstract class AbstractRDFInputModule
- extends AbstractModule
- implements IRDFInputModule
| 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 |
AbstractRDFInputModule
public AbstractRDFInputModule()
getRDFInput
public com.hp.hpl.jena.graph.Graph getRDFInput(org.eclipse.core.runtime.IProgressMonitor monitor)
throws java.lang.Throwable
- Specified by:
getRDFInput in interface IRDFInputModule
- Throws:
java.lang.Throwable
getRDFInputModel
protected com.hp.hpl.jena.rdf.model.Model getRDFInputModel(org.eclipse.core.runtime.IProgressMonitor monitor)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
getInputModules
public java.util.Collection<IModule> getInputModules()
- Specified by:
getInputModules in interface IModule- Overrides:
getInputModules in class AbstractModule
getRDFOutputPredecessors
public java.util.List<IRDFOutputModule> getRDFOutputPredecessors()
setDefaultInputGraph
public void setDefaultInputGraph(com.hp.hpl.jena.graph.Graph value)
- Description copied from interface:
IRDFInputModule
- Sets the Graph that shall be used if no other input has been specified
for this module. This enables programmers to pass in arbitrary Graphs
into a script that would otherwise start with an empty graph.
- Specified by:
setDefaultInputGraph in interface IRDFInputModule
- Parameters:
value - the Graph to start with