1AtteanX::Parser::TurtleU(s3e)r Contributed Perl DocumentaAttitoenanX::Parser::Turtle(3)
2
3
4

NAME

6       AtteanX::Parser::Turtle - Turtle RDF Parser
7

VERSION

9       This document describes AtteanX::Parser::Turtle version 0.022
10

SYNOPSIS

12        use AtteanX::Parser::Turtle;
13        my $parser     = AtteanX::Parser::Turtle->new( handler => sub {...} );
14        $parser->parse_cb_from_io( $fh, $base_uri );
15

DESCRIPTION

17       This module implements a parser for the Turtle RDF format.
18

ATTRIBUTES

20       "canonical_media_type"
21       "media_types"
22       "file_extensions"
23       "canonicalize"
24           A boolean indicating whether term values should be canonicalized
25           during parsing.
26

METHODS

28       "has_namespaces"
29           Returns true if the parser has a namespace map, false otherwise.
30
31       "parse_cb_from_io( $fh )"
32           Calls the "$parser->handler" function once for each
33           Attean::API::Binding object that result from parsing the data read
34           from the IO::Handle object $fh.
35
36       "parse_cb_from_bytes( $data )"
37           Calls the "$parser->handler" function once for each
38           Attean::API::Binding object that result from parsing the data read
39           from the UTF-8 encoded byte string $data.
40
41       "parse_term_from_string( $bytes )"
42           This method is deprecated, as the name was misleading.  Calls
43           should be replaced with "parse_term_from_bytes".
44
45       "parse_term_from_bytes ( $bytes, $base )"
46       "parse_node ( $bytes, $base )"
47           Returns the Attean::API::Term object corresponding to the node
48           whose N-Triples serialization is found at the beginning of $bytes.
49

BUGS

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

AUTHOR

55       Gregory Todd Williams  "<gwilliams@cpan.org>"
56
58       Copyright (c) 2014--2019 Gregory Todd Williams. This program is free
59       software; you can redistribute it and/or modify it under the same terms
60       as Perl itself.
61
62
63
64perl v5.28.1                      2019-03-21        AtteanX::Parser::Turtle(3)
Impressum