svn commit: r1049975 - in /websites/production/commons/content: ./ dormant/ proper/ sandbox/
Author: stain Date: Wed Sep 11 16:56:01 2019 New Revision: 1049975 Log: Benedikt Ritter PMC emeritus Added: websites/production/commons/content/ - copied from r1049973, websites/staging/commons/trunk/content/ websites/production/commons/content/dormant/ - copied from r1049973, websites/production/commons/content/dormant/ websites/production/commons/content/proper/ - copied from r1049973, websites/production/commons/content/proper/ websites/production/commons/content/sandbox/ - copied from r1049973, websites/production/commons/content/sandbox/
svn commit: r1025317 [15/23] - in /websites/production/commons/content/proper/commons-rdf: ./ apidocs/ apidocs/org/apache/commons/rdf/api/ apidocs/org/apache/commons/rdf/api/class-use/ apidocs/org/apa
Modified: websites/production/commons/content/proper/commons-rdf/rat-report.html == --- websites/production/commons/content/proper/commons-rdf/rat-report.html (original) +++ websites/production/commons/content/proper/commons-rdf/rat-report.html Tue Feb 13 01:42:13 2018 @@ -1,13 +1,13 @@ http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> - + Apache Commons RDF Rat (Release Audit Tool) results @@ -35,8 +35,8 @@ https://commons.apache.org/proper/commons-rdf/;>Commons RDF -Last Published: 23 December 2017 - | Version: 0.5.0 +Last Published: 13 February 2018 + | Version: 0.6.0-SNAPSHOT @@ -135,8 +135,8 @@ JIRA Report - -JavaDocs + +Javadoc @@ -270,12 +270,12 @@ * Summary --- -Generated at: 2017-12-23T12:12:20-08:00 +Generated at: 2018-02-13T01:35:41+00:00 Notes: 3 Binaries: 4 Archives: 0 -Standards: 27 +Standards: 28 Apache Licensed: 27 Generated Documents: 0 @@ -283,49 +283,76 @@ Generated Documents: 0 JavaDocs are generated, thus a license header is optional. Generated files do not require license headers. -0 Unknown Licenses +1 Unknown Licenses + +* + +Files with unapproved licenses: + + .github/PULL_REQUEST_TEMPLATE.md + +* * Files with Apache License headers will be marked AL Binary files (which do not require any license headers) will be marked B Compressed archives will be marked A Notices, licenses etc. will be marked N - ALLICENSE-header.txt - ALRELEASE-PROCESS.md + N RELEASE-NOTES.txt + ALcommons-rdf-examples/src/example/IntroToRDF.java + ALcommons-rdf-examples/src/example/IntroToRDFTest.java + ALcommons-rdf-examples/src/example/UserGuideTest.java + ALcommons-rdf-examples/README.md + ALcommons-rdf-examples/pom.xml + N LICENSE + ALSITE.md ALMATURITY.md - ALREADME.md - ALsrc/site/resources/images/class-diagram.nomnoml - ALsrc/site/resources/images/rdf-02.svg - ALsrc/site/resources/images/rdf-01.svg - B src/site/resources/images/commonsrdf-logo.png - B src/site/resources/images/commonsrdf-logo.xcf - B src/site/resources/images/apache-incubator-logo.png - B src/site/resources/images/class-diagram.png - ALsrc/site/site.xml - ALsrc/site/markdown/contributing.md - ALsrc/site/markdown/implementations.md - ALsrc/site/markdown/download.md - ALsrc/site/markdown/introduction.md - ALsrc/site/markdown/index.md - ALsrc/site/markdown/userguide.md + N NOTICE + ALsrc/assembly/src.xml ALsrc/changes/changes.xml - ALsrc/conf/checkstyle-suppressions.xml ALsrc/conf/findbugs-exclude-filter.xml + ALsrc/conf/checkstyle-suppressions.xml ALsrc/conf/pmd.xml ALsrc/conf/checkstyle.xml - ALsrc/assembly/src.xml + ALsrc/site/markdown/contributing.md + ALsrc/site/markdown/introduction.md + ALsrc/site/markdown/implementations.md + ALsrc/site/markdown/userguide.md + ALsrc/site/markdown/index.md + ALsrc/site/markdown/download.md + ALsrc/site/site.xml + ALsrc/site/resources/images/rdf-01.svg + B src/site/resources/images/commonsrdf-logo.xcf + B src/site/resources/images/class-diagram.png + B src/site/resources/images/apache-incubator-logo.png + ALsrc/site/resources/images/class-diagram.nomnoml + B src/site/resources/images/commonsrdf-logo.png + ALsrc/site/resources/images/rdf-02.svg + ALREADME.md + ALRELEASE-PROCESS.md + ALLICENSE-header.txt ALpom.xml - N NOTICE - N LICENSE - ALcommons-rdf-examples/README.md - ALcommons-rdf-examples/src/example/IntroToRDF.java - ALcommons-rdf-examples/src/example/IntroToRDFTest.java - ALcommons-rdf-examples/src/example/UserGuideTest.java - ALcommons-rdf-examples/pom.xml - N RELEASE-NOTES.txt - ALSITE.md + !? .github/PULL_REQUEST_TEMPLATE.md * + + Printing headers for text files without a valid license header... + += +== File: .github/PULL_REQUEST_TEMPLATE.md += +Be sure to do all of the following to help us incorporate your contribution quickly and easily: + + - [ ] Make sure the PR title is formatted like: `COMMONSRDF-XXX: title of pull request` + (replace `XXX` in
svn commit: r1025317 [18/23] - in /websites/production/commons/content/proper/commons-rdf: ./ apidocs/ apidocs/org/apache/commons/rdf/api/ apidocs/org/apache/commons/rdf/api/class-use/ apidocs/org/apa
Modified: websites/production/commons/content/proper/commons-rdf/xref/org/apache/commons/rdf/jena/JenaRDFTerm.html == --- websites/production/commons/content/proper/commons-rdf/xref/org/apache/commons/rdf/jena/JenaRDFTerm.html (original) +++ websites/production/commons/content/proper/commons-rdf/xref/org/apache/commons/rdf/jena/JenaRDFTerm.html Tue Feb 13 01:42:13 2018 @@ -43,6 +43,6 @@ 35 } -Copyright 20152017 https://www.apache.org/;>The Apache Software Foundation. All rights reserved. +Copyright 20152018 https://www.apache.org/;>The Apache Software Foundation. All rights reserved. \ No newline at end of file Modified: websites/production/commons/content/proper/commons-rdf/xref/org/apache/commons/rdf/jena/JenaTriple.html == --- websites/production/commons/content/proper/commons-rdf/xref/org/apache/commons/rdf/jena/JenaTriple.html (original) +++ websites/production/commons/content/proper/commons-rdf/xref/org/apache/commons/rdf/jena/JenaTriple.html Tue Feb 13 01:42:13 2018 @@ -35,6 +35,6 @@ 27 } -Copyright 20152017 https://www.apache.org/;>The Apache Software Foundation. All rights reserved. +Copyright 20152018 https://www.apache.org/;>The Apache Software Foundation. All rights reserved. \ No newline at end of file Modified: websites/production/commons/content/proper/commons-rdf/xref/org/apache/commons/rdf/jena/JenaTripleLike.html == --- websites/production/commons/content/proper/commons-rdf/xref/org/apache/commons/rdf/jena/JenaTripleLike.html (original) +++ websites/production/commons/content/proper/commons-rdf/xref/org/apache/commons/rdf/jena/JenaTripleLike.html Tue Feb 13 01:42:13 2018 @@ -53,6 +53,6 @@ 45 } -Copyright 20152017 https://www.apache.org/;>The Apache Software Foundation. All rights reserved. +Copyright 20152018 https://www.apache.org/;>The Apache Software Foundation. All rights reserved. \ No newline at end of file Modified: websites/production/commons/content/proper/commons-rdf/xref/org/apache/commons/rdf/jena/experimental/JenaRDFParser.html == --- websites/production/commons/content/proper/commons-rdf/xref/org/apache/commons/rdf/jena/experimental/JenaRDFParser.html (original) +++ websites/production/commons/content/proper/commons-rdf/xref/org/apache/commons/rdf/jena/experimental/JenaRDFParser.html Tue Feb 13 01:42:13 2018 @@ -114,6 +114,6 @@ 106 } -Copyright 20152017 https://www.apache.org/;>The Apache Software Foundation. All rights reserved. +Copyright 20152018 https://www.apache.org/;>The Apache Software Foundation. All rights reserved. \ No newline at end of file Modified: websites/production/commons/content/proper/commons-rdf/xref/org/apache/commons/rdf/jena/experimental/package-frame.html == --- websites/production/commons/content/proper/commons-rdf/xref/org/apache/commons/rdf/jena/experimental/package-frame.html (original) +++ websites/production/commons/content/proper/commons-rdf/xref/org/apache/commons/rdf/jena/experimental/package-frame.html Tue Feb 13 01:42:13 2018 @@ -3,7 +3,7 @@ - Commons RDF 0.5.0 Reference Package org.apache.commons.rdf.jena.experimental + Commons RDF 0.6.0-SNAPSHOT Reference Package org.apache.commons.rdf.jena.experimental Modified: websites/production/commons/content/proper/commons-rdf/xref/org/apache/commons/rdf/jena/experimental/package-summary.html == --- websites/production/commons/content/proper/commons-rdf/xref/org/apache/commons/rdf/jena/experimental/package-summary.html (original) +++ websites/production/commons/content/proper/commons-rdf/xref/org/apache/commons/rdf/jena/experimental/package-summary.html Tue Feb 13 01:42:13 2018 @@ -3,7 +3,7 @@ - Commons RDF 0.5.0 Reference Package org.apache.commons.rdf.jena.experimental + Commons RDF 0.6.0-SNAPSHOT Reference Package org.apache.commons.rdf.jena.experimental @@ -63,7 +63,7 @@ - Copyright 20152017 https://www.apache.org/;>The Apache Software Foundation. All rights reserved. + Copyright 20152018 https://www.apache.org/;>The Apache Software Foundation. All rights reserved. \ No newline at end of file Modified: websites/production/commons/content/proper/commons-rdf/xref/org/apache/commons/rdf/jena/impl/AbstractJenaRDFTerm.html
svn commit: r1025317 [12/23] - in /websites/production/commons/content/proper/commons-rdf: ./ apidocs/ apidocs/org/apache/commons/rdf/api/ apidocs/org/apache/commons/rdf/api/class-use/ apidocs/org/apa
Modified: websites/production/commons/content/proper/commons-rdf/apidocs/src-html/org/apache/commons/rdf/rdf4j/experimental/RDF4JParser.html == --- websites/production/commons/content/proper/commons-rdf/apidocs/src-html/org/apache/commons/rdf/rdf4j/experimental/RDF4JParser.html (original) +++ websites/production/commons/content/proper/commons-rdf/apidocs/src-html/org/apache/commons/rdf/rdf4j/experimental/RDF4JParser.html Tue Feb 13 01:42:13 2018 @@ -74,175 +74,173 @@ 066} 067 068@Override -069public void handleStatement(final org.eclipse.rdf4j.model.Statement st) -070throws org.eclipse.rdf4j.rio.RDFHandlerException { -071// TODO: if getRdfTermFactory() is a non-rdf4j factory, should -072// we use factory.createQuad() instead? -073// Unsure what is the promise of setting getRdfTermFactory() -- -074// does it go all the way down to creating BlankNode, IRI and -075// Literal? -076 quadTarget.accept(rdf4jTermFactory.asQuad(st)); -077// Performance note: -078// Graph/Quad.add should pick up again our -079// RDF4JGraphLike.asStatement() -080// and avoid double conversion. -081// Additionally the RDF4JQuad and RDF4JTriple implementations -082// are lazily converting subj/obj/pred/graph.s -083} -084} -085 -086private final static class AddToModel extends AbstractRDFHandler { -087private final Model model; -088 -089public AddToModel(final Model model) { -090this.model = model; -091} -092 -093@Override -094public void handleStatement(final org.eclipse.rdf4j.model.Statement st) -095throws org.eclipse.rdf4j.rio.RDFHandlerException { -096model.add(st); -097} -098 -099@Override -100public void handleNamespace(final String prefix, final String uri) throws RDFHandlerException { -101model.setNamespace(prefix, uri); -102} -103} -104 -105private RDF4J rdf4jTermFactory; -106private ParserConfig parserConfig = new ParserConfig(); -107 -108@Override -109protected RDF4J createRDFTermFactory() { -110return new RDF4J(); -111} -112 -113@Override -114protected RDF4JParser prepareForParsing() throws IOException, IllegalStateException { -115final RDF4JParser c = super.prepareForParsing(); -116// Ensure we have an RDF4J for conversion. -117// We'll make a new one if user has provided a non-RDF4J factory -118c.rdf4jTermFactory = (RDF4J) getRdfTermFactory().filter(RDF4J.class::isInstance) -119 .orElseGet(c::createRDFTermFactory); -120return c; -121} -122 -123@Override -124protected void parseSynchronusly() throws IOException { -125final OptionalRDFFormat formatByMimeType = getContentType().flatMap(Rio::getParserFormatForMIMEType); -126final String base = getBase().map(IRI::getIRIString).orElse(null); -127 -128final ParserConfig parserConfig = getParserConfig(); -129// TODO: Should we need to set anything? -130final RDFLoader loader = new RDFLoader(parserConfig, rdf4jTermFactory.getValueFactory()); -131final RDFHandler rdfHandler = makeRDFHandler(); -132if (getSourceFile().isPresent()) { -133// NOTE: While we could have used -134// loader.load(sourcePath.toFile() -135// if the path fs provider == FileSystems.getDefault(), -136// that RDFLoader method does not use absolute path -137// as the base URI, so to be consistent -138// we'll always do it with our own input stream -139// -140// That means we may have to guess format by extensions: -141final OptionalRDFFormat formatByFilename = getSourceFile().map(Path::getFileName).map(Path::toString) -142 .flatMap(Rio::getParserFormatForFileName); -143// TODO: for the excited.. what about the extension after following -144// symlinks? -145 -146final RDFFormat format = formatByMimeType.orElse(formatByFilename.orElse(null)); -147try (InputStream in = Files.newInputStream(getSourceFile().get())) { -148loader.load(in, base, format, rdfHandler); -149} -150} else if (getSourceIri().isPresent()) { -151try { -152// TODO: Handle international IRIs properly -153// (Unicode support for for hostname, path and query) -154final URL url = new URL(getSourceIri().get().getIRIString()); -155// TODO: This probably does not support https:// - http:// -156// redirections -157loader.load(url,
svn commit: r1025317 [21/23] - in /websites/production/commons/content/proper/commons-rdf: ./ apidocs/ apidocs/org/apache/commons/rdf/api/ apidocs/org/apache/commons/rdf/api/class-use/ apidocs/org/apa
Modified: websites/production/commons/content/proper/commons-rdf/xref/org/apache/commons/rdf/rdf4j/experimental/RDF4JParser.html == --- websites/production/commons/content/proper/commons-rdf/xref/org/apache/commons/rdf/rdf4j/experimental/RDF4JParser.html (original) +++ websites/production/commons/content/proper/commons-rdf/xref/org/apache/commons/rdf/rdf4j/experimental/RDF4JParser.html Tue Feb 13 01:42:13 2018 @@ -74,177 +74,175 @@ 66 } 67 68 @Override -69 public void handleStatement(final org.eclipse.rdf4j.model.Statement st) -70 throws org.eclipse.rdf4j.rio.RDFHandlerException { -71 // TODO: if getRdfTermFactory() is a non-rdf4j factory, should -72 // we use factory.createQuad() instead? -73 // Unsure what is the promise of setting getRdfTermFactory() -- -74 // does it go all the way down to creating BlankNode, IRI and -75 // Literal? -76 quadTarget.accept(rdf4jTermFactory.asQuad(st)); -77 // Performance note: -78 // Graph/Quad.add should pick up again our -79 // RDF4JGraphLike.asStatement() -80 // and avoid double conversion. -81 // Additionally the RDF4JQuad and RDF4JTriple implementations -82 // are lazily converting subj/obj/pred/graph.s -83 } -84 } -85 -86 private final static class AddToModel extends AbstractRDFHandler { -87 private final Model model; -88 -89 public AddToModel(final Model model) { -90 this.model = model; -91 } -92 -93 @Override -94 public void handleStatement(final org.eclipse.rdf4j.model.Statement st) -95 throws org.eclipse.rdf4j.rio.RDFHandlerException { -96 model.add(st); -97 } -98 -99 @Override -100 public void handleNamespace(final String prefix, final String uri) throws RDFHandlerException { -101 model.setNamespace(prefix, uri); -102 } -103 } -104 -105 private RDF4J rdf4jTermFactory; -106 private ParserConfig parserConfig = new ParserConfig(); -107 -108 @Override -109 protected RDF4J createRDFTermFactory() { -110 return new RDF4J(); -111 } -112 -113 @Override -114 protected RDF4JParser prepareForParsing() throws IOException, IllegalStateException { -115 final RDF4JParser c = super.prepareForParsing(); -116 // Ensure we have an RDF4J for conversion. -117 // We'll make a new one if user has provided a non-RDF4J factory -118 c.rdf4jTermFactory = (RDF4J) getRdfTermFactory().filter(RDF4J.class::isInstance) -119 .orElseGet(c::createRDFTermFactory); -120 return c; -121 } -122 -123 @Override -124 protected void parseSynchronusly() throws IOException { -125 final OptionalRDFFormat formatByMimeType = getContentType().flatMap(Rio::getParserFormatForMIMEType); -126 final String base = getBase().map(IRI::getIRIString).orElse(null); -127 -128 final ParserConfig parserConfig = getParserConfig(); -129 // TODO: Should we need to set anything? -130 final RDFLoader loader = new RDFLoader(parserConfig, rdf4jTermFactory.getValueFactory()); -131 final RDFHandler rdfHandler = makeRDFHandler(); -132 if (getSourceFile().isPresent()) { -133 // NOTE: While we could have used -134 // loader.load(sourcePath.toFile() -135 // if the path fs provider == FileSystems.getDefault(), -136 // that RDFLoader method does not use absolute path -137 // as the base URI, so to be consistent -138 // we'll always do it with our own input stream -139 // -140 // That means we may have to guess format by extensions: -141 final OptionalRDFFormat formatByFilename = getSourceFile().map(Path::getFileName).map(Path::toString) -142 .flatMap(Rio::getParserFormatForFileName); -143 // TODO: for the excited.. what about the extension after following -144 // symlinks? -145 -146 final RDFFormat format = formatByMimeType.orElse(formatByFilename.orElse(null)); -147 try (InputStream in = Files.newInputStream(getSourceFile().get())) { -148 loader.load(in, base, format, rdfHandler); -149 } -150 } else if (getSourceIri().isPresent()) { -151 try { -152 // TODO: Handle international IRIs properly -153 // (Unicode support for for hostname, path and query) -154 final URL url = new URL(getSourceIri().get().getIRIString()); -155 // TODO: This probably does not support https:// - http:// -156 //
svn commit: r1025317 [1/23] - in /websites/production/commons/content/proper/commons-rdf: ./ apidocs/ apidocs/org/apache/commons/rdf/api/ apidocs/org/apache/commons/rdf/api/class-use/ apidocs/org/apac
Author: stain Date: Tue Feb 13 01:42:13 2018 New Revision: 1025317 Log: Site checkin for project Commons RDF Modified: websites/production/commons/content/proper/commons-rdf/apidocs/allclasses-frame.html websites/production/commons/content/proper/commons-rdf/apidocs/allclasses-noframe.html websites/production/commons/content/proper/commons-rdf/apidocs/constant-values.html websites/production/commons/content/proper/commons-rdf/apidocs/deprecated-list.html websites/production/commons/content/proper/commons-rdf/apidocs/help-doc.html websites/production/commons/content/proper/commons-rdf/apidocs/index-all.html websites/production/commons/content/proper/commons-rdf/apidocs/index.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/BlankNode.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/BlankNodeOrIRI.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/Dataset.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/Graph.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/GraphLike.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/IRI.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/Literal.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/Quad.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/QuadLike.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/RDF.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/RDFSyntax.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/RDFTerm.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/RDFTermFactory.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/Triple.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/TripleLike.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/class-use/BlankNode.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/class-use/BlankNodeOrIRI.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/class-use/Dataset.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/class-use/Graph.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/class-use/GraphLike.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/class-use/IRI.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/class-use/Literal.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/class-use/Quad.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/class-use/QuadLike.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/class-use/RDF.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/class-use/RDFSyntax.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/class-use/RDFTerm.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/class-use/RDFTermFactory.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/class-use/Triple.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/class-use/TripleLike.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/package-frame.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/package-summary.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/package-tree.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/api/package-use.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/experimental/RDFParser.ParseResult.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/experimental/RDFParser.html websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/experimental/class-use/RDFParser.ParseResult.html websites
svn commit: r1025317 [19/23] - in /websites/production/commons/content/proper/commons-rdf: ./ apidocs/ apidocs/org/apache/commons/rdf/api/ apidocs/org/apache/commons/rdf/api/class-use/ apidocs/org/apa
Modified: websites/production/commons/content/proper/commons-rdf/xref/org/apache/commons/rdf/rdf4j/RDF4J.html == --- websites/production/commons/content/proper/commons-rdf/xref/org/apache/commons/rdf/rdf4j/RDF4J.html (original) +++ websites/production/commons/content/proper/commons-rdf/xref/org/apache/commons/rdf/rdf4j/RDF4J.html Tue Feb 13 01:42:13 2018 @@ -109,564 +109,565 @@ 101 * @see RDF 102 * 103 */ -104 public final class RDF4J implements RDF { -105 -106 /** -107 * InternalRDF4JFactory is deliberately abstract -108 */ -109 private static InternalRDF4JFactory rdf4j = new InternalRDF4JFactory() { -110 }; -111 -112 public enum Option { -113 /** -114 * The Graph/Dataset should include any inferred statements -115 */ -116 includeInferred, -117 /** -118 * The graph/dataset should handle {@link Repository#initialize()} (if -119 * needed) and {@link Repository#shutDown()} on {@link Graph#close()} / -120 * {@link Dataset#close()}. -121 */ -122 handleInitAndShutdown -123 } -124 -125 private final UUID salt; -126 -127 private final ValueFactory valueFactory; -128 -129 /** -130 * Construct an {@link RDF4J}. -131 * -132 */ -133 public RDF4J() { -134 this(SimpleValueFactory.getInstance(), UUID.randomUUID()); -135 } -136 -137 /** -138 * Construct an {@link RDF4J}. -139 * p -140 * This constructor is intended for use with the value factory from -141 * {@link Repository#getValueFactory()} when using Repository-based graphs -142 * and datasets. -143 * -144 * @param valueFactory -145 *The RDF4J {@link ValueFactory} to use -146 */ -147 public RDF4J(final ValueFactory valueFactory) { -148 this(valueFactory, UUID.randomUUID()); -149 } -150 -151 /** -152 * Construct an {@link RDF4J}. -153 * p -154 * This constructor may be used if reproducible -155 * {@link BlankNode#uniqueReference()} in {@link BlankNode} is desirable. -156 * -157 * @param salt -158 *An {@link UUID} salt to be used by any created -159 *{@link BlankNode}s for the purpose of -160 *{@link BlankNode#uniqueReference()} -161 */ -162 public RDF4J(final UUID salt) { -163 this(SimpleValueFactory.getInstance(), salt); -164 } -165 -166 /** -167 * Construct an {@link RDF4J}. -168 * p -169 * This constructor may be used if reproducible -170 * {@link BlankNode#uniqueReference()} in {@link BlankNode} is desirable. -171 * -172 * @param valueFactory -173 *The RDF4J {@link ValueFactory} to use -174 * @param salt -175 *An {@link UUID} salt to be used by any created -176 *{@link BlankNode}s for the purpose of -177 *{@link BlankNode#uniqueReference()} -178 */ -179 public RDF4J(final ValueFactory valueFactory, final UUID salt) { -180 this.valueFactory = valueFactory; -181 this.salt = salt; -182 } -183 -184 /** -185 * Adapt a RDF4J {@link Statement} as a Commons RDF {@link Quad}. -186 * p -187 * For the purpose of {@link BlankNode} equivalence, this method will use an -188 * internal salt UUID that is unique per instance of {@link RDF4J}. -189 * p -190 * strongNOTE:/strong If combining RDF4J {@link Statement}s multiple -191 * repositories or models, then their {@link BNode}s may have the same -192 * {@link BNode#getID()}, which with this method would become equivalent -193 * according to {@link BlankNode#equals(Object)} and -194 * {@link BlankNode#uniqueReference()}, unless a separate {@link RDF4J} -195 * instance is used per RDF4J repository/model. -196 * -197 * @param statement -198 *The statement to convert -199 * @return A {@link RDF4JQuad} that is equivalent to the statement -200 */ -201 public RDF4JQuad asQuad(final Statement statement) { -202 return rdf4j.createQuadImpl(statement, salt); -203 } -204 -205 /** -206 * -207 * Adapt a RDF4J {@link Value} as a Commons RDF {@link RDFTerm}. -208 * p -209 * The value will be of the same kind as the term, e.g. a -210 * {@link org.eclipse.rdf4j.model.BNode} is converted to a -211 * {@link org.apache.commons.rdf.api.BlankNode}, a -212 * {@link org.eclipse.rdf4j.model.IRI} is converted to a -213 * {@link org.apache.commons.rdf.api.IRI} and a -214 * {@link org.eclipse.rdf4j.model.Literal}. is converted to a -215 * {@link org.apache.commons.rdf.api.Literal} -216 * p -217 * For the purpose of {@link BlankNode} equivalence, this method will use an -218
svn commit: r1025317 [11/23] - in /websites/production/commons/content/proper/commons-rdf: ./ apidocs/ apidocs/org/apache/commons/rdf/api/ apidocs/org/apache/commons/rdf/api/class-use/ apidocs/org/apa
Modified: websites/production/commons/content/proper/commons-rdf/apidocs/src-html/org/apache/commons/rdf/rdf4j/RDF4JBlankNode.html == --- websites/production/commons/content/proper/commons-rdf/apidocs/src-html/org/apache/commons/rdf/rdf4j/RDF4JBlankNode.html (original) +++ websites/production/commons/content/proper/commons-rdf/apidocs/src-html/org/apache/commons/rdf/rdf4j/RDF4JBlankNode.html Tue Feb 13 01:42:13 2018 @@ -40,7 +40,7 @@ 032public interface RDF4JBlankNode extends RDF4JBlankNodeOrIRI, BlankNode { 033 034@Override -035public BNode asValue(); +035BNode asValue(); 036 037} Modified: websites/production/commons/content/proper/commons-rdf/apidocs/src-html/org/apache/commons/rdf/rdf4j/RDF4JBlankNodeOrIRI.html == --- websites/production/commons/content/proper/commons-rdf/apidocs/src-html/org/apache/commons/rdf/rdf4j/RDF4JBlankNodeOrIRI.html (original) +++ websites/production/commons/content/proper/commons-rdf/apidocs/src-html/org/apache/commons/rdf/rdf4j/RDF4JBlankNodeOrIRI.html Tue Feb 13 01:42:13 2018 @@ -40,7 +40,7 @@ 032public interface RDF4JBlankNodeOrIRI extends RDF4JTerm, BlankNodeOrIRI { 033 034@Override -035public Resource asValue(); +035Resource asValue(); 036 037} Modified: websites/production/commons/content/proper/commons-rdf/apidocs/src-html/org/apache/commons/rdf/rdf4j/RDF4JDataset.html == --- websites/production/commons/content/proper/commons-rdf/apidocs/src-html/org/apache/commons/rdf/rdf4j/RDF4JDataset.html (original) +++ websites/production/commons/content/proper/commons-rdf/apidocs/src-html/org/apache/commons/rdf/rdf4j/RDF4JDataset.html Tue Feb 13 01:42:13 2018 @@ -33,121 +33,120 @@ 025import org.apache.commons.rdf.api.IRI; 026import org.apache.commons.rdf.api.Quad; 027import org.apache.commons.rdf.api.RDFTerm; -028import org.apache.commons.rdf.rdf4j.RDF4J.Option; -029 -030/** -031 * Marker interface for RDF4J implementations of Dataset. -032 * -033 * @see RDF4J#createDataset() -034 * @see RDF4J#asDataset(org.eclipse.rdf4j.repository.Repository, Option...) -035 */ -036public interface RDF4JDataset extends Dataset, RDF4JGraphLikeQuad { -037 -038/** -039 * {@inheritDoc} -040 * p -041 * Note that for datasets backed by a repository ({@link #asRepository()} is -042 * present), the stream strongmust be closed/strong with -043 * {@link Stream#close()}. -044 * p -045 * This can generally achieved using a try-with-resources block, e.g.: -046 * -047 * pre -048 * int subjects; -049 * try (Streamlt;RDF4JQuadgt; s : graph.stream()) { -050 * subjects = s.map(RDF4JQuad::getSubject).distinct().count() -051 * } -052 * /pre -053 */ -054@Override -055StreamRDF4JQuad stream(); -056 -057/** -058 * {@inheritDoc} -059 * p -060 * Note that for datasets backed by a repository ({@link #asRepository()} is -061 * present), the stream strongmust be closed/strong with -062 * {@link Stream#close()}. -063 * p -064 * This can generally achieved using a try-with-resources block, e.g.: -065 * -066 * pre -067 * int subjects; -068 * try (Streamlt;RDF4JQuadgt; s : graph.stream()) { -069 * subjects = s.map(RDF4JQuad::getSubject).distinct().count() -070 * } -071 * /pre -072 */ -073@Override -074StreamRDF4JQuad stream(OptionalBlankNodeOrIRI graphName, BlankNodeOrIRI subject, IRI predicate, RDFTerm object); -075 -076/** -077 * {@inheritDoc} -078 * p -079 * Note that for datasets backed by a repository ({@link #asRepository()} is -080 * present), the stream strongmust be closed/strong with -081 * {@link Stream#close()}. -082 * p -083 * This can generally achieved using a try-with-resources block, e.g.: -084 * -085 * pre -086 * int graphs; -087 * try (Streamlt;BlankNodeOrIRIgt; s : graph.stream()) { -088 * graphs = s.count() -089 * } -090 * /pre -091 */ -092@Override -093StreamBlankNodeOrIRI getGraphNames(); -094 -095/** -096 * {@inheritDoc} -097 * p -098 * Note that for datasets backed by a repository ({@link #asRepository()} is -099 * present), the iterable strongmust be closed/strong with -100 * {@link ClosableIterable#close()}. -101 * p -102 * This can generally achieved using a try-with-resources block, e.g.: -103 * -104 * pre -105 * try (ClosableIterablelt;Quadgt; s : graph.iterate()) { -106 * for (Quad q : quads) { -107 * return q; // OK to terminate for-loop early -108 * } -109 * } -110 * /pre -111 * -112 * If you don't use a try-with-resources block, the iterator will attempt to -113 * close the
svn commit: r1025317 [9/23] - in /websites/production/commons/content/proper/commons-rdf: ./ apidocs/ apidocs/org/apache/commons/rdf/api/ apidocs/org/apache/commons/rdf/api/class-use/ apidocs/org/apac
Modified: websites/production/commons/content/proper/commons-rdf/apidocs/src-html/org/apache/commons/rdf/rdf4j/RDF4J.Option.html == --- websites/production/commons/content/proper/commons-rdf/apidocs/src-html/org/apache/commons/rdf/rdf4j/RDF4J.Option.html (original) +++ websites/production/commons/content/proper/commons-rdf/apidocs/src-html/org/apache/commons/rdf/rdf4j/RDF4J.Option.html Tue Feb 13 01:42:13 2018 @@ -109,562 +109,563 @@ 101 * @see RDF 102 * 103 */ -104public final class RDF4J implements RDF { -105 -106/** -107 * InternalRDF4JFactory is deliberately abstract -108 */ -109private static InternalRDF4JFactory rdf4j = new InternalRDF4JFactory() { -110}; -111 -112public enum Option { -113/** -114 * The Graph/Dataset should include any inferred statements -115 */ -116includeInferred, -117/** -118 * The graph/dataset should handle {@link Repository#initialize()} (if -119 * needed) and {@link Repository#shutDown()} on {@link Graph#close()} / -120 * {@link Dataset#close()}. -121 */ -122handleInitAndShutdown -123} -124 -125private final UUID salt; -126 -127private final ValueFactory valueFactory; -128 -129/** -130 * Construct an {@link RDF4J}. -131 * -132 */ -133public RDF4J() { -134 this(SimpleValueFactory.getInstance(), UUID.randomUUID()); -135} -136 -137/** -138 * Construct an {@link RDF4J}. -139 * p -140 * This constructor is intended for use with the value factory from -141 * {@link Repository#getValueFactory()} when using Repository-based graphs -142 * and datasets. -143 * -144 * @param valueFactory -145 *The RDF4J {@link ValueFactory} to use -146 */ -147public RDF4J(final ValueFactory valueFactory) { -148this(valueFactory, UUID.randomUUID()); -149} -150 -151/** -152 * Construct an {@link RDF4J}. -153 * p -154 * This constructor may be used if reproducible -155 * {@link BlankNode#uniqueReference()} in {@link BlankNode} is desirable. -156 * -157 * @param salt -158 *An {@link UUID} salt to be used by any created -159 *{@link BlankNode}s for the purpose of -160 *{@link BlankNode#uniqueReference()} -161 */ -162public RDF4J(final UUID salt) { -163 this(SimpleValueFactory.getInstance(), salt); -164} -165 -166/** -167 * Construct an {@link RDF4J}. -168 * p -169 * This constructor may be used if reproducible -170 * {@link BlankNode#uniqueReference()} in {@link BlankNode} is desirable. -171 * -172 * @param valueFactory -173 *The RDF4J {@link ValueFactory} to use -174 * @param salt -175 *An {@link UUID} salt to be used by any created -176 *{@link BlankNode}s for the purpose of -177 *{@link BlankNode#uniqueReference()} -178 */ -179public RDF4J(final ValueFactory valueFactory, final UUID salt) { -180this.valueFactory = valueFactory; -181this.salt = salt; -182} -183 -184/** -185 * Adapt a RDF4J {@link Statement} as a Commons RDF {@link Quad}. -186 * p -187 * For the purpose of {@link BlankNode} equivalence, this method will use an -188 * internal salt UUID that is unique per instance of {@link RDF4J}. -189 * p -190 * strongNOTE:/strong If combining RDF4J {@link Statement}s multiple -191 * repositories or models, then their {@link BNode}s may have the same -192 * {@link BNode#getID()}, which with this method would become equivalent -193 * according to {@link BlankNode#equals(Object)} and -194 * {@link BlankNode#uniqueReference()}, unless a separate {@link RDF4J} -195 * instance is used per RDF4J repository/model. -196 * -197 * @param statement -198 *The statement to convert -199 * @return A {@link RDF4JQuad} that is equivalent to the statement -200 */ -201public RDF4JQuad asQuad(final Statement statement) { -202return rdf4j.createQuadImpl(statement, salt); -203} -204 -205/** -206 * -207 * Adapt a RDF4J {@link Value} as a Commons RDF {@link RDFTerm}. -208 * p -209 * The value will be of the same kind as the term, e.g. a -210 * {@link org.eclipse.rdf4j.model.BNode} is converted to a -211 * {@link org.apache.commons.rdf.api.BlankNode}, a -212 * {@link org.eclipse.rdf4j.model.IRI} is converted to a -213 * {@link org.apache.commons.rdf.api.IRI} and a -214 * {@link org.eclipse.rdf4j.model.Literal}. is converted to a -215 * {@link org.apache.commons.rdf.api.Literal} -216 * p -217 * For the purpose of {@link BlankNode} equivalence, this method will use an -218 * internal salt UUID that is unique per instance of
svn commit: r1025317 [3/23] - in /websites/production/commons/content/proper/commons-rdf: ./ apidocs/ apidocs/org/apache/commons/rdf/api/ apidocs/org/apache/commons/rdf/api/class-use/ apidocs/org/apac
Modified: websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/experimental/package-use.html == --- websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/experimental/package-use.html (original) +++ websites/production/commons/content/proper/commons-rdf/apidocs/org/apache/commons/rdf/experimental/package-use.html Tue Feb 13 01:42:13 2018 @@ -4,7 +4,7 @@ -Uses of Package org.apache.commons.rdf.experimental (Commons RDF 0.5.0 API) +Uses of Package org.apache.commons.rdf.experimental (Commons RDF 0.6.0-SNAPSHOT API) @@ -12,7 +12,7 @@