You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2022/05/04 21:08:21 UTC
[jena-site] 05/06: Use RDFWriter.source()
This is an automated email from the ASF dual-hosted git repository.
andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena-site.git
commit 95cf81c9fd9eca4d2c2c092384acd770bc1e0611
Author: Andy Seaborne <an...@apache.org>
AuthorDate: Thu Mar 24 12:53:53 2022 +0000
Use RDFWriter.source()
---
source/documentation/io/rdf-output.md | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/source/documentation/io/rdf-output.md b/source/documentation/io/rdf-output.md
index fe1d11a53..fe2791c8d 100644
--- a/source/documentation/io/rdf-output.md
+++ b/source/documentation/io/rdf-output.md
@@ -270,10 +270,9 @@ otherwise noted, the setting applies to both Turtle and TriG.
```
and in code:
```
- RDFWriter.create()
+ RDFWriter.source(model)
.set(RIOT.symTurtleDirectiveStyle, "sparql")
.lang(Lang.TTL)
- .source(model)
.output(System.out);
```
##### _Base URI_