You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by Olaf Hartig <ha...@informatik.hu-berlin.de> on 2011/09/27 09:37:59 UTC

recontribution (Fwd: ARQ - registry for parsers)

Hello,

Please find attached an email with code that I contributed to Jena in 2007. I 
would like to re-contribute that code to the Apache project Jena.

Cheers,
Olaf

----------  Forwarded Message  ----------

Subject: ARQ - registry for parsers
Date: Sunday 30 December 2007, 19:29:39
From: Olaf Hartig <ha...@informatik.hu-berlin.de>
To: "Seaborne, Andy" <an...@hp.com>

Hello Andy,

For my extension I added new clauses to the query language. Therefore, I need 
an extended parser. Since it was impossible to register other parsers I 
developed a parser registry for ARQ. Attached to this mail you find the 
following three new Java files.

* ParserRegistry.java - the new registry
* ParserFactory.java - an interface for parser factories
* ParserFactoryImpl.java - a factory for the ARQ parsers

These classes go in the directory src/com/hp/hpl/jena/sparql/lang/ .

To use the registry I adjusted three existing files. You find the patches 
attached. I tried to stick to your indentation style.

I hope you can add this registry to your code base.

Bye,
Olaf

-----------------------------------------

Re: recontribution (Fwd: ARQ - registry for parsers)

Posted by Andy Seaborne <an...@apache.org>.
Olaf,

Thank you for resending the contribution,

	Andy

On 27/09/11 08:37, Olaf Hartig wrote:
> Hello,
>
> Please find attached an email with code that I contributed to Jena in 2007. I
> would like to re-contribute that code to the Apache project Jena.
>
> Cheers,
> Olaf
>
> ----------  Forwarded Message  ----------
>
> Subject: ARQ - registry for parsers
> Date: Sunday 30 December 2007, 19:29:39
> From: Olaf Hartig<ha...@informatik.hu-berlin.de>
> To: "Seaborne, Andy"<an...@hp.com>
>
> Hello Andy,
>
> For my extension I added new clauses to the query language. Therefore, I need
> an extended parser. Since it was impossible to register other parsers I
> developed a parser registry for ARQ. Attached to this mail you find the
> following three new Java files.
>
> * ParserRegistry.java - the new registry
> * ParserFactory.java - an interface for parser factories
> * ParserFactoryImpl.java - a factory for the ARQ parsers
>
> These classes go in the directory src/com/hp/hpl/jena/sparql/lang/ .
>
> To use the registry I adjusted three existing files. You find the patches
> attached. I tried to stick to your indentation style.
>
> I hope you can add this registry to your code base.
>
> Bye,
> Olaf
>
> -----------------------------------------