org.topbraid.sparqlmotion.modules.impl
Class AbstractModule
java.lang.Object
org.topbraid.sparqlmotion.modules.impl.AbstractModule
- All Implemented Interfaces:
- IModule
- Direct Known Subclasses:
- AbstractRDFInputModule, AbstractXMLInputModule, LoadExcelCellInstancesModule, LoadSesameNativeRepositoryModule, LoadSesameRemoteRepositoryModule
public abstract class AbstractModule
- extends java.lang.Object
- implements IModule
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
inputModules
protected java.util.Collection<IModule> inputModules
AbstractModule
public AbstractModule()
bindInputURL
public java.lang.String bindInputURL(java.lang.String input,
IVarBindings bindings)
bindInputURL
public java.lang.String bindInputURL(java.lang.String input,
IVarBindings bindings,
java.lang.String strategy)
createError
protected java.lang.IllegalArgumentException createError(com.hp.hpl.jena.rdf.model.Property predicate,
java.lang.String message)
dumpNamespaces
protected static void dumpNamespaces(com.hp.hpl.jena.graph.Graph graph)
getConfig
public com.hp.hpl.jena.rdf.model.Resource getConfig()
- Specified by:
getConfig in interface IModule
getConfigBoolean
protected boolean getConfigBoolean(com.hp.hpl.jena.rdf.model.Property predicate)
getConfigFile
protected org.eclipse.core.resources.IFile getConfigFile(com.hp.hpl.jena.rdf.model.Property predicate,
boolean required)
getConfigString
protected java.lang.String getConfigString(com.hp.hpl.jena.rdf.model.Property predicate,
boolean required)
getConfigResource
protected com.hp.hpl.jena.rdf.model.Resource getConfigResource(com.hp.hpl.jena.rdf.model.Property predicate,
boolean required)
getContext
public IExecutionContext getContext()
- Specified by:
getContext in interface IModule
getInputModules
public java.util.Collection<IModule> getInputModules()
- Specified by:
getInputModules in interface IModule
getModuleLabel
protected java.lang.String getModuleLabel()
getQueryStrings
protected java.util.List<java.lang.String> getQueryStrings(com.hp.hpl.jena.rdf.model.Property predicate)
getVarInsertion
protected java.lang.String getVarInsertion(com.hp.hpl.jena.rdf.model.RDFNode node,
java.lang.String strategy)
init
public void init(com.hp.hpl.jena.rdf.model.Resource config)
- Specified by:
init in interface IModule
moni
protected void moni(org.eclipse.core.runtime.IProgressMonitor monitor,
java.lang.String message)
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()
- Specified by:
validate in interface IModule