org.openprovenance.prov.template.log2prov.DocumentDiscarderProcessor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of prov-template-compiler Show documentation
Show all versions of prov-template-compiler Show documentation
A template system for PROV bundles.
The newest version!
package org.openprovenance.prov.template.log2prov;
import org.openprovenance.prov.model.Document;
import org.openprovenance.prov.model.ProvUtilities;
public final class DocumentDiscarderProcessor implements DocumentProcessor {
private Document doc;
public DocumentDiscarderProcessor(Document doc) {
this.doc=doc;
}
@Override
public void process(Document ndoc) {
}
@Override
public Document getDocument() {
new ProvUtilities().updateNamespaces(doc);
return doc;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy