Support Base URI for RDFWriter to relativise URIs

Description

In order to support relative URIs in serialised documents there needs to be a way of signalling the base URI to the writer.

One way of implementing this is to add it as a WriterConfig setting:

RioSetting<String> BasicWriterSettings.BASE_URI

Another is to add new methods to RDFWriterFactory:

RDFWriterFactory.createWriter(OutputStream, String)

and

RDFWriterFactory.createWriter(Writer, String)

Another is to add a new method to RDFHandler:

RDFHandler.handleBaseURI(String)

Another way is to add it as an explicit method on RDFWriter.

RDFWriter.setBaseUri(String)

Environment

None

Status

Assignee

Peter Ansell

Reporter

Peter Ansell

Labels

Components

Priority

Major
Configure