|
SMILA 1.0 API documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.smila.ontology.pipelets.ASesameRecordPipelet
public abstract class ASesameRecordPipelet
abstract base class of Sesame-Record-IO-pipelets.
Field Summary | |
---|---|
protected AnyMap |
_configuration
my config. |
protected SesameValueHelper |
_valueHelper
value creation helper. |
static java.lang.String |
PARAM_RECORDFILTER
parameter/config property to specify a record filter. |
static java.lang.String |
PARAM_REPOSITORY
parameter/config property to specify a non-default repository to use for IO. |
Constructor Summary | |
---|---|
ASesameRecordPipelet()
|
Method Summary | |
---|---|
void |
configure(AnyMap configuration)
set configuration of pipelet. called once after instantiation before the pipelet is actually used in a workflow. |
protected URI |
createUri(RepositoryConnection connection,
java.lang.String uriString)
resolve namespace prefixes in URI string. |
protected ParameterAccessor |
getParameters(Blackboard blackboard)
create parameter accessor to use. |
protected RepositoryConnection |
getRepositoryConnection(ParameterAccessor parameters)
get repository connection as described by parameters, pipelet config or default. |
protected SesameOntologyManager |
getSesameOntologyManager()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.smila.processing.Pipelet |
---|
process |
Field Detail |
---|
public static final java.lang.String PARAM_RECORDFILTER
public static final java.lang.String PARAM_REPOSITORY
protected AnyMap _configuration
protected SesameValueHelper _valueHelper
Constructor Detail |
---|
public ASesameRecordPipelet()
Method Detail |
---|
public void configure(AnyMap configuration) throws ProcessingException
configure
in interface Pipelet
configuration
- configuration of pipelet.
ProcessingException
- configuration is not applicable for pipelet (missing properties, wrong datatypes)#configure(org.eclipse.smila.processing.configuration.PipeletConfiguration)
protected SesameOntologyManager getSesameOntologyManager() throws ProcessingException
SesameOntologyManager
service.
ProcessingException
- no instance could be found.protected ParameterAccessor getParameters(Blackboard blackboard)
blackboard
- request blackboard.
protected RepositoryConnection getRepositoryConnection(ParameterAccessor parameters) throws ProcessingException
parameters
- parameter accessor
ProcessingException
- error accessing SesameOntologyManager
service or the named repository.protected URI createUri(RepositoryConnection connection, java.lang.String uriString)
connection
- connection to ask for namespace resolving and use as value factory.uriString
- an uri string that possibly contains a namespace prefix.
|
SMILA 1.0 API documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |