[
https://issues.apache.org/jira/browse/JENA-1306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15897078#comment-15897078
]
ASF GitHub Bot commented on JENA-1306:
--------------------------------------
GitHub user afs opened a pull request:
https://github.com/apache/jena/pull/222
JENA-1306: RDFParser
`RDFParser` / `RDFParserBuilder` is a new API to build and execute parsing
steps. It provides complete control of the parser setup.
As such it is too detailed for general use. `RDFDataMgr` or `Model.read`
remains the normal way to ingest RDF syntax.
In this PR, `RDFDataMgr` has been changed to use `RDFParser`.
`ReaderRIOT` remains the interface to plugging in parser processes.
Parsing speed is not affected.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/afs/jena parser
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/jena/pull/222.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #222
----
commit 6b3c5407aaed5fa11f69b7815a0a695e3770ce6c
Author: Andy Seaborne <[email protected]>
Date: 2017-03-05T08:23:10Z
JENA-1306: Move and tidy context symbols.
commit 25a93880960a002de0410cc336123759c13cfb4f
Author: Andy Seaborne <[email protected]>
Date: 2017-03-05T08:52:45Z
JENA-1306: RDFParser
commit 3b2b199f21d00a04b70ba561d97a484d40b5bb7a
Author: Andy Seaborne <[email protected]>
Date: 2017-03-05T20:32:40Z
JENA-1306: Integration of RDFParser
----
> Provide detailed setup for RIOT parsing with a parser builder.
> --------------------------------------------------------------
>
> Key: JENA-1306
> URL: https://issues.apache.org/jira/browse/JENA-1306
> Project: Apache Jena
> Issue Type: New Feature
> Components: RIOT
> Affects Versions: Jena 3.2.0
> Reporter: Andy Seaborne
> Assignee: Andy Seaborne
>
> Provide a parser builder for detailed setup of RDFParser.
> This is a new low level interface to the parsing process. It replaces and
> extends the machinery hidden inside {{RDFDataMgr}} ({{process}} and
> {{getReader}}) and {{RDFParserRegistry.ReaderRIOTLang}}.
> It aligns with the changes to {{HttpOp}} to have a specific optional
> {{HttpClient}} (JENA-576 and related work) and so allows applications to
> control the HTTP setup without resorting to direct use of {{HttpOp}}.
> More detailed control can be exposed, including language specific and
> specialized needs, for example [PR#211 "preserve id of blanknodes in
> JSON-LD"|https://github.com/apache/jena/pull/211].
> {{RDFDataMgr}} functions involving a Context can be can be deprecated.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)