1RDF::Trine::Parser::NTrUispelresC(o3n)tributed Perl DocuRmDeFn:t:aTtriionne::Parser::NTriples(3)
2
3
4
6 RDF::Trine::Parser::NTriples - N-Triples Parser
7
9 This document describes RDF::Trine::Parser::NTriples version 1.019
10
12 use RDF::Trine::Parser;
13 my $parser = RDF::Trine::Parser->new( 'ntriples' );
14 $parser->parse_into_model( $base_uri, $data, $model );
15
17 ...
18
20 Beyond the methods documented below, this class inherits methods from
21 the RDF::Trine::Parser class.
22
23 "new"
24 "parse_into_model ( $base_uri, $data, $model [, context => $context] )"
25 Parses the bytes in $data. For each RDF statement parsed, will
26 call "$model->add_statement( $statement )".
27
28 "parse_file_into_model ( $base_uri, $fh, $model [, context => $context]
29 )"
30 Parses all data read from the filehandle $fh. For each RDF
31 statement parsed, will call "$model->add_statement( $statement )".
32
33 "parse ( $base_uri, $rdf, \&handler )"
34 "parse_node ( $string, $base )"
35 Returns the RDF::Trine::Node object corresponding to the node whose
36 N-Triples serialization is found at the beginning of $string.
37
38 "parse_file ( $base, $fh, \&handler )"
39
41 Please report any bugs or feature requests to through the GitHub web
42 interface at <https://github.com/kasei/perlrdf/issues>.
43
45 Gregory Todd Williams "<gwilliams@cpan.org>"
46
48 Copyright (c) 2006-2012 Gregory Todd Williams. This program is free
49 software; you can redistribute it and/or modify it under the same terms
50 as Perl itself.
51
52
53
54perl v5.32.0 2020-07-28 RDF::Trine::Parser::NTriples(3)