org.topbraid.sparqlmotion.modules.impl
Class DummyModule
java.lang.Object
org.topbraid.sparqlmotion.modules.impl.DummyModule
- All Implemented Interfaces:
- IModule, IOutputModule, IRDFOutputModule
public class DummyModule
- extends java.lang.Object
- implements IRDFOutputModule
Used as external input into Loops, pointing to the input Graph from
the surrounding context. These are not fully functional but tell the
execution engine that they don't need to be executed recursively.
- Author:
- Holger Knublauch
|
Constructor Summary |
DummyModule(com.hp.hpl.jena.graph.Graph graph)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyModule
public DummyModule(com.hp.hpl.jena.graph.Graph graph)
getConfig
public com.hp.hpl.jena.rdf.model.Resource getConfig()
- Specified by:
getConfig in interface IModule
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
getContext
public IExecutionContext getContext()
- Specified by:
getContext in interface IModule
getInputModules
public java.util.Collection<IModule> getInputModules()
- Specified by:
getInputModules in interface IModule
init
public void init(com.hp.hpl.jena.rdf.model.Resource config)
- Specified by:
init in interface IModule
setContext
public void setContext(IExecutionContext value)
- Specified by:
setContext in interface IModule
setInputModules
public void setInputModules(java.util.Collection<IModule> values)
- Specified by:
setInputModules in interface IModule
validate
public void validate()
throws java.lang.Throwable
- Specified by:
validate in interface IModule
- Throws:
java.lang.Throwable