1RDF::Trine::Serializer:U:sReDrFPCaotncthr(i3b)uted PerlRDDoFc:u:mTernitnaet:i:oSnerializer::RDFPatch(3)
2
3
4
6 RDF::Trine::Serializer::RDFPatch - RDF-Patch Serializer
7
9 This document describes RDF::Trine::Serializer::RDFPatch version 1.019
10
12 use RDF::Trine::Serializer::RDFPatch;
13 my $serializer = RDF::Trine::Serializer::RDFPatch->new();
14
16 The RDF::Trine::Serializer::RDFPatch class provides an API for
17 serializing RDF graphs to the RDF-Patch 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 RDF-Patch serializer object.
25
26 "serialize_model_to_file ( $fh, $model )"
27 Serializes the $model to RDF-Patch, printing the results to the
28 supplied filehandle "<$fh">.
29
30 "serialize_model_to_string ( $model )"
31 Serializes the $model to RDF-Patch, returning the result as a
32 string.
33
34 "serialize_iterator_to_file ( $file, $iter )"
35 Serializes the iterator to RDF-Patch, printing the results to the
36 supplied filehandle "<$fh">.
37
38 "serialize_iterator_to_string ( $iter )"
39 Serializes the iterator to RDF-Patch, returning the result as a
40 string.
41
43 As described in "as_ntriples" in RDF::Trine::Node::Resource,
44 serialization will decode any punycode
45 <http://www.ietf.org/rfc/rfc3492.txt> that is included in the IRI, and
46 serialize it using unicode codepoint escapes.
47
49 Please report any bugs or feature requests to through the GitHub web
50 interface at <https://github.com/kasei/perlrdf/issues>.
51
53 <http://afs.github.io/rdf-patch/>
54
56 Gregory Todd Williams "<gwilliams@cpan.org>"
57
59 Copyright (c) 2006-2012 Gregory Todd Williams. This program is free
60 software; you can redistribute it and/or modify it under the same terms
61 as Perl itself.
62
63
64
65perl v5.30.0 2019-07-26RDF::Trine::Serializer::RDFPatch(3)