COMMONSRDF-54 overloads of RDF4J#asRDFTerm This PR adds three overloaded methods into the class RDF4J:
RDF4JBlankNode asRDFTerm(final org.eclipse.rdf4j.model.BNode value) RDF4JLiteral asRDFTerm(final org.eclipse.rdf4j.model.Literal value) RDF4JIRI asRDFTerm(final org.eclipse.rdf4j.model.IRI value) Contributed by Guohui Xiao <[email protected]> This closes #31 g with '#' will be ignored, and an empty message aborts Signed-off-by: Stian Soiland-Reyes <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/commons-rdf/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-rdf/commit/d7df7852 Tree: http://git-wip-us.apache.org/repos/asf/commons-rdf/tree/d7df7852 Diff: http://git-wip-us.apache.org/repos/asf/commons-rdf/diff/d7df7852 Branch: refs/heads/master Commit: d7df7852b87cdeb2f18ab27109fcbae22898444e Parents: 42363cf 1dd347e Author: Guohui Xiao <[email protected]> Authored: Fri Jan 27 15:56:44 2017 +0000 Committer: Stian Soiland-Reyes <[email protected]> Committed: Fri Jan 27 16:02:18 2017 +0000 ---------------------------------------------------------------------- .../org/apache/commons/rdf/rdf4j/RDF4J.java | 85 ++++++++++++++++++-- .../rdf/rdf4j/RDF4JMethodOverloadsTest.java | 33 ++++++++ 2 files changed, 112 insertions(+), 6 deletions(-) ----------------------------------------------------------------------
