COMMONSRDF-47: RDFSyntax as an interface, not emum Official media types are provided from W3CRDFSyntax
Added plural mediaTypes() and extensions() Thanks to @ansell for reviewing. This closes #27 Project: http://git-wip-us.apache.org/repos/asf/commons-rdf/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-rdf/commit/ef7f4442 Tree: http://git-wip-us.apache.org/repos/asf/commons-rdf/tree/ef7f4442 Diff: http://git-wip-us.apache.org/repos/asf/commons-rdf/diff/ef7f4442 Branch: refs/heads/master Commit: ef7f4442a85f90883c320ae30486db617848b60d Parents: f6ea058 fbd72a9 Author: Stian Soiland-Reyes <st...@apache.org> Authored: Thu Feb 16 11:53:56 2017 +0000 Committer: Stian Soiland-Reyes <st...@apache.org> Committed: Thu Feb 16 11:55:57 2017 +0000 ---------------------------------------------------------------------- .../org/apache/commons/rdf/api/RDFSyntax.java | 218 ++++++++++++++----- .../apache/commons/rdf/api/W3CRDFSyntax.java | 206 ++++++++++++++++++ .../apache/commons/rdf/api/RDFSyntaxTest.java | 75 ++++--- .../org/apache/commons/rdf/jena/JenaRDF.java | 2 +- .../simple/experimental/AbstractRDFParser.java | 2 +- .../experimental/AbstractRDFParserTest.java | 10 +- 6 files changed, 426 insertions(+), 87 deletions(-) ----------------------------------------------------------------------