Prefix.java
package org.linkedopenactors.rdfpub.adapter.driven;
import de.naturzukunft.rdf4j.vocabulary.SCHEMA_ORG;
public enum Prefix {
RDF(org.eclipse.rdf4j.model.vocabulary.RDF.PREFIX, org.eclipse.rdf4j.model.vocabulary.RDF.NAMESPACE),
SCHEMA(SCHEMA_ORG.PREFIX, SCHEMA_ORG.NAMESPACE),
AS(de.naturzukunft.rdf4j.vocabulary.AS.PREFIX, de.naturzukunft.rdf4j.vocabulary.AS.NAMESPACE),
OWL(org.eclipse.rdf4j.model.vocabulary.OWL.PREFIX, org.eclipse.rdf4j.model.vocabulary.OWL.NAMESPACE),
XML("xml", "http://www.w3.org/XML/1998/namespace"),
XSD("xsd", "http://www.w3.org/2001/XMLSchema#"),
RDFS(org.eclipse.rdf4j.model.vocabulary.RDFS.PREFIX, org.eclipse.rdf4j.model.vocabulary.RDFS.NAMESPACE);
private String prefix;
private Prefix(String prefix, String namespace) {
this.prefix = "PREFIX "+prefix+": <"+namespace+">";
}
public String value() {
return prefix;
}
}