1RDF::Redland::Stream(3)User Contributed Perl DocumentatioRnDF::Redland::Stream(3)
2
3
4

NAME

6       RDF::Redland::Stream - Redland RDF Stream of RDF::Redland::Statement
7       objects Class
8

SYNOPSIS

10         use RDF::Redland;
11
12         ...
13         my $stream=$model->serialise;
14         while($stream && !$stream->end) {
15           my $statement=$stream->current;
16           ...
17           $stream->next;
18         }
19

DESCRIPTION

21       Represents a sequence of RDF::Redland::Statement objects passed between
22       various Redland objects.
23

CONSTRUCTORS

25       No public constructors - are created and returned from various methods
26       of classes including RDF::Redland::Model and RDF::Redland::Parser
27

METHODS

29       end Returns non 0 if the stream is finished.
30
31       current
32           Returns the current RDF::Redland::Statement object in the stream or
33           undef if the stream is finished.
34
35       next
36           Moves to the next RDF::Redland::Statement object in the stream.
37           Returns non-zero if the stream is finished.
38
39       context
40           Returns the context RDF::Redland::Node object in the stream or
41           undef if the stream is finished.
42

SEE ALSO

44       RDF::Redland::Model and RDF::Redland::Parser
45

AUTHOR

47       Dave Beckett - http://www.dajobe.org/
48
49
50
51perl v5.30.0                      2019-07-26           RDF::Redland::Stream(3)
Impressum