COMMONSRDF-46 Javadoc fixed references
Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/400d1e72 Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/400d1e72 Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/400d1e72 Branch: refs/heads/master Commit: 400d1e72c27024ca7ec9eb17cf04ff346e5e2ee9 Parents: 46e159d Author: Stian Soiland-Reyes <st...@apache.org> Authored: Wed Oct 26 13:40:44 2016 +0100 Committer: Stian Soiland-Reyes <st...@apache.org> Committed: Wed Oct 26 13:40:44 2016 +0100 ---------------------------------------------------------------------- .../org/apache/commons/rdf/jena/JenaRDF.java | 2 +- .../rdf/rdf4j/impl/InternalRDF4JFactory.java | 3 +- .../apache/commons/rdf/rdf4j/package-info.java | 36 ++++++++++++-------- 3 files changed, 24 insertions(+), 17 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/400d1e72/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 22db284..a550b06 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 @@ -67,7 +67,7 @@ import org.apache.jena.sparql.graph.GraphFactory; * {@link BlankNode#uniqueReference()}), each instance of JenaRDF uses an * internal random state. If for some reason consistent/reproducible BlankNode * identity is desired, it is possible to retrieve the state as a UUID using - * {@link #salt} for subsequent use with {@link JenaFactory#JenaFactory(UUID)} - + * {@link #salt()} for subsequent use with {@link JenaRDF#JenaRDF(UUID)} - * note that such consistency is only guaranteed within the same minor version * of Commons RDF. * http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/400d1e72/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/impl/InternalRDF4JFactory.java ---------------------------------------------------------------------- diff --git a/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/impl/InternalRDF4JFactory.java b/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/impl/InternalRDF4JFactory.java index ca97472..b6d6b29 100644 --- a/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/impl/InternalRDF4JFactory.java +++ b/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/impl/InternalRDF4JFactory.java @@ -28,6 +28,7 @@ import org.apache.commons.rdf.rdf4j.RDF4JLiteral; import org.apache.commons.rdf.rdf4j.RDF4JQuad; import org.apache.commons.rdf.rdf4j.RDF4JTerm; import org.apache.commons.rdf.rdf4j.RDF4J; +import org.apache.commons.rdf.rdf4j.RDF4J.Option; import org.apache.commons.rdf.rdf4j.RDF4JTriple; import org.eclipse.rdf4j.model.BNode; import org.eclipse.rdf4j.model.IRI; @@ -45,7 +46,7 @@ import org.eclipse.rdf4j.repository.Repository; * {@link RDF4J} methods like * {@link RDF4J#createBlankNode()}, * {@link RDF4J#asRDFTerm(org.eclipse.rdf4j.model.Value)} and - * {@link RDF4J#asGraph(Repository, org.apache.commons.rdf.rdf4j.RDF4JFactory.Option...)} + * {@link RDF4J#asGraph(Repository, Option...)} * <p> * This class exists as a <code>public</code> bridge between the packages * {@link org.apache.commons.rdf.rdf4j} and http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/400d1e72/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/package-info.java ---------------------------------------------------------------------- diff --git a/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/package-info.java b/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/package-info.java index dbccdb3..f4bfb7a 100644 --- a/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/package-info.java +++ b/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/package-info.java @@ -18,36 +18,42 @@ /** * Commons RDF integration with <a href="http://rdf4j.org/">RDF4J</a>. * <p> - * Use the {@link org.apache.commons.rdf.rdf4j.RDF4J} to convert + * Use the {@link RDF4J} to convert * between Commons RDF and RDF4J types, for instance - * {@link org.apache.commons.rdf.rdf4j.RDF4J#asQuad(org.eclipse.rdf4j.model.Statement)} + * {@link RDF4J#asQuad(org.eclipse.rdf4j.model.Statement)} * converts a RDF4J {@link org.eclipse.rdf4j.model.Statement} to a * {@link org.apache.commons.rdf.api.Quad}. Converted RDF terms implement the - * {@link org.apache.commons.rdf.rdf4j.RDF4JTerm} interface, and converted - * statements the {@link org.apache.commons.rdf.rdf4j.RDF4JTripleLike} + * {@link RDF4JTerm} interface, and converted + * statements the {@link RDF4JTripleLike} * interface, which provide convenience access to the underlying RDF4J * implementations. * <p> * RDF4J {@link org.eclipse.rdf4j.model.Model}s and * {@link org.eclipse.rdf4j.repository.Repository} instances can be adapted to - * Commons RDF {@link org.apache.commons.rdf.api.Graph} and - * {@link org.apache.commons.rdf.api.Dataset}, e.g. using - * {@link org.apache.commons.rdf.rdf4j.RDF4J#asGraph(org.eclipse.rdf4j.model.Model)} + * Commons RDF {@link Graph} and + * {@link Dataset}, e.g. using + * {@link RDF4J#asGraph(org.eclipse.rdf4j.model.Model)} * or - * {@link org.apache.commons.rdf.rdf4j.RDF4J#asDataset(org.eclipse.rdf4j.repository.Repository, org.apache.commons.rdf.rdf4j.RDF4JFactory.Option...)} + * {@link RDF4J#asDataset(org.eclipse.rdf4j.repository.Repository, RDF4J.Option...)} * The returned adapted graph/dataset is directly mapped, so changes are * propagated both ways. For convenience, the marker interface - * {@link org.apache.commons.rdf.rdf4j.RDF4JGraph} and - * {@link org.apache.commons.rdf.rdf4j.RDF4JDataset} provide access to the + * {@link RDF4JGraph} and + * {@link RDF4JDataset} provide access to the * underlying RDF4J implementations. * <p> - * The {@link org.apache.commons.rdf.rdf4j.experimental.RDF4JParser} can be used to + * The {@link RDF4JParser} can be used to * parse RDF files using RDF4j. It should be most efficient if used with - * {@link org.apache.commons.rdf.rdf4j.experimental.RDF4JParser#target(org.apache.commons.rdf.api.Dataset)} - * and an adapted {@link org.apache.commons.rdf.rdf4j.RDF4JDataset}, or - * {@link org.apache.commons.rdf.rdf4j.experimental.RDF4JParser#target(org.apache.commons.rdf.api.Graph)} - * and a an adapted {@link org.apache.commons.rdf.rdf4j.RDF4JGraph} + * {@link RDF4JParser#target(Dataset)} + * and an adapted {@link RDF4JDataset}, or + * {@link RDF4JParser#target(Graph)} + * and a an adapted {@link RDF4JGraph} * * */ package org.apache.commons.rdf.rdf4j; +// Imports for Javadoc, do not remove +import org.apache.commons.rdf.api.Dataset; +import org.apache.commons.rdf.api.Graph; +import org.apache.commons.rdf.rdf4j.*; +import org.apache.commons.rdf.rdf4j.RDF4J.Option; +import org.apache.commons.rdf.rdf4j.experimental.RDF4JParser;