public abstract static class RDFTransformer.AbstractOperation extends Object implements RDFTransformer.Operation
RDFTransformer.Operation
that processes a given statement
providing that it satisfies a given predicate.Modifier | Constructor and Description |
---|---|
|
RDFTransformer.AbstractOperation() |
protected |
RDFTransformer.AbstractOperation(com.google.common.base.Predicate<ARTStatement> predicate) |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
doTransform(RDFModel sourceModel,
RDFModel targetModel,
ARTStatement stmt) |
boolean |
execute(RDFModel sourceModel,
RDFModel targetModel,
ARTStatement stmt) |
protected RDFTransformer.AbstractOperation(com.google.common.base.Predicate<ARTStatement> predicate)
public RDFTransformer.AbstractOperation()
public boolean execute(RDFModel sourceModel, RDFModel targetModel, ARTStatement stmt)
execute
in interface RDFTransformer.Operation
sourceModel
- the source modeltargetModel
- the target modelstmt
- the statement to be transformedtrue
iff the processing of a statement is finishedprotected abstract boolean doTransform(RDFModel sourceModel, RDFModel targetModel, ARTStatement stmt)
Copyright © 2015 ART Group, University of Rome, Tor Vergata. All Rights Reserved.