1RDF::Trine::Serializer:U:sNeQruaCdosn(t3r)ibuted Perl DoRcDuFm:e:nTtraitnieo:n:Serializer::NQuads(3)
2
3
4
6 RDF::Trine::Serializer::NQuads - N-Quads Serializer
7
9 This document describes RDF::Trine::Serializer::NQuads version 1.019
10
12 use RDF::Trine::Serializer::NQuads;
13 my $serializer = RDF::Trine::Serializer::NQuads->new();
14
16 The RDF::Trine::Serializer::NQuads class provides an API for
17 serializing RDF graphs to the N-Quads syntax.
18
20 Beyond the methods documented below, this class inherits methods from
21 the RDF::Trine::Serializer class.
22
23 "new"
24 Returns a new N-Quads serializer object.
25
26 "serialize_model_to_file ( $fh, $model )"
27 Serializes the $model to N-Quads, printing the results to the
28 supplied filehandle "<$fh">.
29
30 "serialize_model_to_string ( $model )"
31 Serializes the $model to N-Quads, returning the result as a string.
32
33 "serialize_iterator_to_file ( $file, $iter )"
34 Serializes the iterator to N-Quads, printing the results to the
35 supplied filehandle "<$fh">.
36
37 "serialize_iterator_to_string ( $iter )"
38 Serializes the iterator to N-Quads, returning the result as a
39 string.
40
41 "statement_as_string ( $st )"
42 Returns a string with the supplied RDF::Trine::Statement::Quad
43 object serialized as N-Quads, ending in a DOT and newline.
44
46 Please report any bugs or feature requests to through the GitHub web
47 interface at <https://github.com/kasei/perlrdf/issues>.
48
50 <http://sw.deri.org/2008/07/n-quads/>
51
53 Gregory Todd Williams "<gwilliams@cpan.org>"
54
56 Copyright (c) 2006-2012 Gregory Todd Williams. This program is free
57 software; you can redistribute it and/or modify it under the same terms
58 as Perl itself.
59
60
61
62perl v5.32.1 2021-01-27 RDF::Trine::Serializer::NQuads(3)