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

com.github.jsonldjava.impl.SesameJSONLDParserFactory Maven / Gradle / Ivy

There is a newer version: 0.5.1
Show newest version
/**
 * 
 */
package com.github.jsonldjava.impl;

import org.openrdf.rio.RDFFormat;
import org.openrdf.rio.RDFParser;
import org.openrdf.rio.RDFParserFactory;

/**
 * An {@link RDFParserFactory} that creates instances of
 * {@link SesameJSONLDParser}.
 * 
 * @author Peter Ansell [email protected]
 */
public class SesameJSONLDParserFactory implements RDFParserFactory {

    @Override
    public RDFFormat getRDFFormat() {
	return RDFFormat.JSONLD;
    }

    @Override
    public RDFParser getParser() {
	return new SesameJSONLDParser();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy