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

io.github.qudtlib.tools.contribute.QudtEntityGenerator Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.github.qudtlib.tools.contribute;

import java.util.function.Consumer;
import java.util.function.Predicate;
import org.eclipse.rdf4j.model.Statement;

public class QudtEntityGenerator {

    private ToolImpl tool;

    public QudtEntityGenerator() {
        this(true);
    }

    public QudtEntityGenerator(boolean performShaclValidation) {
        this.tool = new ToolImpl(performShaclValidation);
    }

    public void unitOfWork(Consumer configurer) {
        configurer.accept(this.tool);
    }

    public void writeRdf(Predicate statementPredicate) {
        this.tool.writeRdf(System.out, statementPredicate);
    }

    public void writeRdf() {
        this.writeRdf(s -> true);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy