You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by st...@apache.org on 2017/02/10 16:55:27 UTC

[25/45] commons-rdf git commit: COMMONSRDF-54 overloads of RDF4J#asRDFTerm

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 <gh...@gmail.com>

This closes #31

g with '#' will be ignored, and an empty message aborts

Signed-off-by: Stian Soiland-Reyes <st...@apache.org>


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/COMMONSRDF-47
Commit: d7df7852b87cdeb2f18ab27109fcbae22898444e
Parents: 42363cf 1dd347e
Author: Guohui Xiao <gh...@gmail.com>
Authored: Fri Jan 27 15:56:44 2017 +0000
Committer: Stian Soiland-Reyes <st...@apache.org>
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(-)
----------------------------------------------------------------------