1RDF::Trine::Serializer:U:sNeTrriCpolnetsr(i3b)uted PerlRDDoFc:u:mTernitnaet:i:oSnerializer::NTriples(3)
2
3
4

NAME

6       RDF::Trine::Serializer::NTriples - N-Triples Serializer
7

VERSION

9       This document describes RDF::Trine::Serializer::NTriples version 1.019
10

SYNOPSIS

12        use RDF::Trine::Serializer::NTriples;
13        my $serializer = RDF::Trine::Serializer::NTriples->new();
14

DESCRIPTION

16       The RDF::Trine::Serializer::NTriples class provides an API for
17       serializing RDF graphs to the N-Triples syntax.
18

METHODS

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-Triples serializer object.
25
26       "serialize_model_to_file ( $fh, $model )"
27           Serializes the $model to N-Triples, printing the results to the
28           supplied filehandle "<$fh">.
29
30       "serialize_model_to_string ( $model )"
31           Serializes the $model to N-Triples, returning the result as a
32           string.
33
34       "serialize_iterator_to_file ( $file, $iter )"
35           Serializes the iterator to N-Triples, printing the results to the
36           supplied filehandle "<$fh">.
37
38       "serialize_iterator_to_string ( $iter )"
39           Serializes the iterator to N-Triples, returning the result as a
40           string.
41
42       "statement_as_string ( $st )"
43           Returns a string with the supplied RDF::Trine::Statement object
44           serialized as N-Triples, ending in a DOT and newline.
45
46       "serialize_node ( $node )"
47           Returns a string containing the N-Triples serialization of $node.
48

NOTES

50       As described in "as_ntriples" in RDF::Trine::Node::Resource, N-Triples
51       serialization will decode any punycode
52       <http://www.ietf.org/rfc/rfc3492.txt> that is included in the IRI, and
53       serialize it using unicode codepoint escapes.
54

BUGS

56       Please report any bugs or feature requests to through the GitHub web
57       interface at <https://github.com/kasei/perlrdf/issues>.
58

SEE ALSO

60       <http://www.w3.org/TR/rdf-testcases/#ntriples>
61

AUTHOR

63       Gregory Todd Williams  "<gwilliams@cpan.org>"
64
66       Copyright (c) 2006-2012 Gregory Todd Williams. This program is free
67       software; you can redistribute it and/or modify it under the same terms
68       as Perl itself.
69
70
71
72perl v5.32.0                      2020-07-28RDF::Trine::Serializer::NTriples(3)
Impressum