Commit c0e99e91 authored by Günter Hipler's avatar Günter Hipler
Browse files

better internal name for customized rdf/xml edm writer

parent ee834f78
......@@ -20,10 +20,12 @@
package ch.memobase.rico2edm.edm.subjects
import ch.memobase.rico2edm.rdf.writer.RdfXmlWriter
import ch.memobase.rico2edm.rdf.writer.{RdfXmlWriter => EDMRdfXmlWriter}
import ch.memobase.rico2edm.utils.Helper
import org.eclipse.rdf4j.model.Model
import org.eclipse.rdf4j.rio.Rio
//import org.eclipse.rdf4j.rio.rdfxml.RDFXMLWriter
import java.io.StringWriter
import java.time.ZonedDateTime
import java.time.format.DateTimeFormatter
......@@ -45,8 +47,8 @@ object ModelXMLTransformer {
val sOut = new StringWriter
//we use the adapted Writer for EDM
val rdfWriter = new RdfXmlWriter(sOut)
//val rdfWriter = new RDFXMLWriter(sOut)
val rdfWriter = new EDMRdfXmlWriter(sOut)
//val rdfWriterstandard = new RDFXMLWriter(sOut)
Rio.write(model, rdfWriter)
//create whole ES structure and replace XML prolog
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment