owlcs/owlapi — pull request #236 by ansell (2014-07-02 07:08:43+00:00)
Title: Format reformation - Do not merge yet

This pull request aims to integrate the way formats, and mime-types in particular, are handled across owlapi-api/owlapi-parsers and owlapi-rio. It uses the MIMETypeAware interface as the sole method, rather than the dual annotation and interface method that is currently used. By using the interface it is able to remove Class reflection and introspection as the basis for the comparisons.

It hopefully also fixes a bug where all parsers are returned from ParsableOWLOntologyFactory in many cases.

I would also like to look at the way HasPriority is used in further changes, per issue #234, but testing that will be easier once this is complete.

There are some errors with Guice integration in testing, so do not merge yet.