owlcs/owlapi — pull request #240 by ansell (2014-07-04 05:39:55+00:00)
Title: Move HasPriority to Factories. Fixes #234

This pull request moves HasPriority annotations to ParserFactory and StorerFactory objects, and modifies the corresponding OWLOntologyManager methods to store factory objects.

It also bumps jsonld-java-sesame to 0.5-SNAPSHOT until I next release it, as it has a small but useful fix that wraps parse exceptions correctly, so there is no special handling needed in ParsableOWLOntologyFactory for JSONLD. I should be able to release version 0.5 when I get back from holiday, (or sooner if necessary).

Given that everything can easily have HasPriority now, would it also be useful to add all of the missing HasPriority annotations, and add those classes to the relevant META-INF/services files? I only added lines to META-INF/services if OWLAPIParsersModule was already linking to the parser/storer, but we may be able to relax that restriction now, particularly now that users can easily select the relevant format using their document source object.