RDF::Trine::Parser::RDFPatch(3pm)

RDF::Trine::Parser::RDFPatch3pm

Rdf-patch parser

Usage

 use RDF::Trine::Parser::RDFPatch;
 my $serializer = RDF::Trine::Parser::RDFPatch->new();

Version

This document describes RDF::Trine::Parser::RDFPatch version 1.019

Overview

The RDF::Trine::Parser::RDFPatch class provides an API for serializing RDF graphs to the RDF-Patch syntax.

Methods

"new ( )"

Returns a new RDF-Patch Parser object.

"namespace_map"

Returns the RDF::Trine::NamespaceMap object used in parsing.

"parse ( $base_uri, $rdf, \&handler )"
"parse_file ( $base, $fh, \&handler )"
"handle_op ( $op, $handler, $lineno )"

Handles the RDF::Trine::Parser::RDFPatch::Op operation object. For 'A'dd operations, the $handler callback is called with the RDF statement. Otherwise an exception is thrown.

"parse_line ( $line, $base )"

Returns an operation object.

"new ( $op, @args )"

Returns a new RDF-Patch Parser operation object.

Releases

6 releases since Debian 8 (Jessie); the text changed 4 times.

  1. 8
  2. 9
  3. 10–11
  4. 12
  5. 13

Bugs

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

Author

Gregory Todd Williams "<[email protected]>"

From librdf-trine-perl 1.019-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.