| 1 |
<?xml version="1.0" encoding="iso-8859-1"?> |
| 2 |
<?xml version="1.0"?> |
| 3 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
| 4 |
<head> |
| 5 |
<title>Redland RDF Application Framework - Perl RDF::Redland::Stream Class</title> |
| 6 |
</head> |
| 7 |
<body> |
| 8 |
|
| 9 |
<h1 style="text-align:center">Redland RDF Application Framework - Perl RDF::Redland::Stream Class</h1> |
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
<div name="index"> |
| 14 |
<p><a name="__index__"></a></p> |
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
</div> |
| 29 |
|
| 30 |
|
| 31 |
<h2><a name="name">NAME</a></h2> |
| 32 |
<p>RDF::Redland::Stream - Redland RDF Stream of RDF::Redland::Statement objects Class</p> |
| 33 |
|
| 34 |
<h2><a name="synopsis">SYNOPSIS</a></h2> |
| 35 |
<pre> |
| 36 |
use RDF::Redland; |
| 37 |
</pre> |
| 38 |
<pre> |
| 39 |
... |
| 40 |
my $stream=$model->serialise; |
| 41 |
while($stream && !$stream->end) { |
| 42 |
my $statement=$stream->current; |
| 43 |
... |
| 44 |
$stream->next; |
| 45 |
} |
| 46 |
</pre> |
| 47 |
|
| 48 |
<h2><a name="description">DESCRIPTION</a></h2> |
| 49 |
<p>Represents a sequence of RDF::Redland::Statement objects passed between various Redland objects.</p> |
| 50 |
|
| 51 |
<h2><a name="constructors">CONSTRUCTORS</a></h2> |
| 52 |
<p>No public constructors - are created and returned from various methods of classes including RDF::Redland::Model and RDF::Redland::Parser</p> |
| 53 |
|
| 54 |
<h2><a name="methods">METHODS</a></h2> |
| 55 |
<dl> |
| 56 |
<dt><strong><a name="end" class="item">end</a></strong></dt> |
| 57 |
<dd> |
| 58 |
<p>Returns non 0 if the stream is finished.</p> |
| 59 |
</dd> |
| 60 |
<dt><strong><a name="current" class="item">current</a></strong></dt> |
| 61 |
<dd> |
| 62 |
<p>Returns the current RDF::Redland::Statement object in the stream or undef if the stream is finished.</p> |
| 63 |
</dd> |
| 64 |
<dt><strong><a name="next" class="item">next</a></strong></dt> |
| 65 |
<dd> |
| 66 |
<p>Moves to the next RDF::Redland::Statement object in the stream. Returns non-zero if the stream is finished.</p> |
| 67 |
</dd> |
| 68 |
<dt><strong><a name="context" class="item">context</a></strong></dt> |
| 69 |
<dd> |
| 70 |
<p>Returns the context RDF::Redland::Node object in the stream or undef if the stream is finished.</p> |
| 71 |
</dd> |
| 72 |
</dl> |
| 73 |
|
| 74 |
<h2><a name="see_also">SEE ALSO</a></h2> |
| 75 |
<p><a href="Model.html">the RDF::Redland::Model manpage</a> and <a href="Parser.html">the RDF::Redland::Parser manpage</a></p> |
| 76 |
|
| 77 |
<h2><a name="author">AUTHOR</a></h2> |
| 78 |
<p>Dave Beckett - <a href="http://www.dajobe.org/">http://www.dajobe.org/</a></p> |
| 79 |
<hr /> |
| 80 |
|
| 81 |
<p>(C) Copyright 2000-2011 <a href="http://www.dajobe.org/">Dave Beckett</a>, (C) Copyright 2000-2005 <a href="http://www.bristol.ac.uk/">University of Bristol</a></p> |
| 82 |
|
| 83 |
</body> |
| 84 |
</html> |