commonsrdf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject [20/22] incubator-commonsrdf git commit: javadoc tweaks to avoid Factory
Date Sun, 23 Oct 2016 01:00:03 GMT
javadoc tweaks to avoid Factory


Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/417963fe
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/417963fe
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/417963fe

Branch: refs/heads/COMMONSRDF-46
Commit: 417963fe582804d2d1f3c47a7c0ffd702277b4db
Parents: d261f64
Author: Stian Soiland-Reyes <stain@apache.org>
Authored: Sun Oct 23 00:54:59 2016 +0100
Committer: Stian Soiland-Reyes <stain@apache.org>
Committed: Sun Oct 23 01:22:01 2016 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/commons/rdf/jena/JenaRDF.java  | 12 +++++++-----
 .../org/apache/commons/rdf/jsonldjava/JsonLdRDF.java    |  3 +++
 .../main/java/org/apache/commons/rdf/rdf4j/RDF4J.java   |  2 ++
 .../java/org/apache/commons/rdf/simple/SimpleRDF.java   |  4 ++--
 4 files changed, 14 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/417963fe/jena/src/main/java/org/apache/commons/rdf/jena/JenaRDF.java
----------------------------------------------------------------------
diff --git a/jena/src/main/java/org/apache/commons/rdf/jena/JenaRDF.java b/jena/src/main/java/org/apache/commons/rdf/jena/JenaRDF.java
index e3c2a86..0a3f1b0 100644
--- a/jena/src/main/java/org/apache/commons/rdf/jena/JenaRDF.java
+++ b/jena/src/main/java/org/apache/commons/rdf/jena/JenaRDF.java
@@ -48,13 +48,15 @@ import org.apache.jena.sparql.core.DatasetGraph;
 import org.apache.jena.sparql.graph.GraphFactory;
 
 /**
- * RDF with Jena-backed objects.
+ * Apache Jena RDF implementation.
  * <p>
- * This factory can also convert existing objects from/to Jena with methods like
+ * Instances of JenaRDF can also convert existing objects from/to
+ * <code>org.apache.jena</code> types with methods like
  * {@link #fromJena(org.apache.jena.graph.Graph)} and {@link #toJena(Graph)}.
  * <p>
- * For the purpose of {@link BlankNode} identity, this factory will use an internal
- * {@link UUID} as a salt. See {@link BlankNode#uniqueReference()} for details.
+ * For the purpose of {@link BlankNode} identity, JenaRDF instances use an
+ * internal {@link UUID} as a salt. See {@link BlankNode#uniqueReference()} for
+ * details.
  * 
  * @see RDF
  */
@@ -715,7 +717,7 @@ public final class JenaRDF implements RDF {
 	 * {@link BlankNode#uniqueReference()} for details.
 	 * <p>
 	 * This salt can be used with the constructor 
-	 * {@link JenaRDF#JenaFactory(UUID)}
+	 * {@link JenaRDF#JenaRDF(UUID)}
 	 * if consistent or reproducible {@link BlankNode}s are desirable. 
 	 * 
 	 * @return The {@link UUID} used as salt

http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/417963fe/jsonld-java/src/main/java/org/apache/commons/rdf/jsonldjava/JsonLdRDF.java
----------------------------------------------------------------------
diff --git a/jsonld-java/src/main/java/org/apache/commons/rdf/jsonldjava/JsonLdRDF.java b/jsonld-java/src/main/java/org/apache/commons/rdf/jsonldjava/JsonLdRDF.java
index bb57b1a..64f877a 100644
--- a/jsonld-java/src/main/java/org/apache/commons/rdf/jsonldjava/JsonLdRDF.java
+++ b/jsonld-java/src/main/java/org/apache/commons/rdf/jsonldjava/JsonLdRDF.java
@@ -35,6 +35,9 @@ import org.apache.commons.rdf.simple.Types;
 import com.github.jsonldjava.core.RDFDataset;
 import com.github.jsonldjava.core.RDFDataset.Node;
 
+/**
+ * JSON-LD Java RDF implementation.
+ */
 public final class JsonLdRDF implements RDF {
 
 	final String bnodePrefix;

http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/417963fe/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4J.java
----------------------------------------------------------------------
diff --git a/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4J.java b/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4J.java
index 37dd7a2..fb5743b 100644
--- a/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4J.java
+++ b/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4J.java
@@ -97,6 +97,8 @@ import org.eclipse.rdf4j.sail.memory.MemoryStore;
  * and 
  * {@link #asRDFTermGraph(Repository, Option...)}
  * therefore uses a unique {@link RDF4J} internally.
+ * 
+ * @see RDF
  *
  */
 public final class RDF4J implements RDF {

http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/417963fe/simple/src/main/java/org/apache/commons/rdf/simple/SimpleRDF.java
----------------------------------------------------------------------
diff --git a/simple/src/main/java/org/apache/commons/rdf/simple/SimpleRDF.java b/simple/src/main/java/org/apache/commons/rdf/simple/SimpleRDF.java
index 91bd7da..1698955 100644
--- a/simple/src/main/java/org/apache/commons/rdf/simple/SimpleRDF.java
+++ b/simple/src/main/java/org/apache/commons/rdf/simple/SimpleRDF.java
@@ -31,10 +31,10 @@ import org.apache.commons.rdf.api.RDF;
 import org.apache.commons.rdf.api.Triple;
 
 /**
- * A simple implementation of RDF.
+ * Simple RDF implementation.
  * <p>
  * The {@link RDFTerm}, {@link Triple}, {@link Quad}, {@link Graph}
- * and {@link Dataset} instances created by this factory are
+ * and {@link Dataset} instances created by SimpleRDF are
  * simple in-memory Implementations that are not thread-safe or efficient, but
  * which may be useful for testing and prototyping purposes.
  */


Mime
View raw message