All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openprovenance.prov.template.log2prov.DocumentDiscarderProcessor Maven / Gradle / Ivy

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