1RDF::Trine::Parser::RDFUPsaetrchC(o3n)tributed Perl DocuRmDeFn:t:aTtriionne::Parser::RDFPatch(3)
2
3
4
6 RDF::Trine::Parser::RDFPatch - RDF-Patch Parser
7
9 This document describes RDF::Trine::Parser::RDFPatch version 1.019
10
12 use RDF::Trine::Parser::RDFPatch;
13 my $serializer = RDF::Trine::Parser::RDFPatch->new();
14
16 The RDF::Trine::Parser::RDFPatch class provides an API for serializing
17 RDF graphs to the RDF-Patch syntax.
18
20 "new ( )"
21 Returns a new RDF-Patch Parser object.
22
23 "namespace_map"
24 Returns the RDF::Trine::NamespaceMap object used in parsing.
25
26 "parse ( $base_uri, $rdf, \&handler )"
27 "parse_file ( $base, $fh, \&handler )"
28 "handle_op ( $op, $handler, $lineno )"
29 Handles the RDF::Trine::Parser::RDFPatch::Op operation object. For
30 'A'dd operations, the $handler callback is called with the RDF
31 statement. Otherwise an exception is thrown.
32
33 "parse_line ( $line, $base )"
34 Returns an operation object.
35
36 "new ( $op, @args )"
37 Returns a new RDF-Patch Parser operation object.
38
40 Please report any bugs or feature requests to through the GitHub web
41 interface at <https://github.com/kasei/perlrdf/issues>.
42
44 <http://afs.github.io/rdf-patch/>
45
47 Gregory Todd Williams "<gwilliams@cpan.org>"
48
50 Copyright (c) 2006-2012 Gregory Todd Williams. This program is free
51 software; you can redistribute it and/or modify it under the same terms
52 as Perl itself.
53
54
55
56perl v5.38.0 2023-07-21 RDF::Trine::Parser::RDFPatch(3)