Martin 'Kingpin' Thurn > RDF-Simple-Serialiser-Notation3-1.017 > RDF::Simple::Serialiser::NT

Download:
RDF-Simple-Serialiser-Notation3-1.017.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 1.005   Source  

NAME ^

RDF::Simple::Serialiser::NT - Output RDF triples in N-Triples format

SYNOPSIS ^

Same as RDF::Simple::Serialiser, except when you call serialise(), you get back a string in N-Triples format.

PRIVATE METHODS ^

render

This method does all the N-Triples formatting. Yes, it is named wrong; but all other functionality is inherited from RDF::Simple::Serialiser and that's how the author named the output function. You won't be calling this method anyway, you'll be calling the serialise() method, so what do you care! In fact, I wouldn't even be telling you about it if I weren't playing the CPANTS game...

PUBLIC METHODS ^

get_triple_count

Returns the number of triples created since the last call to reset_triple_count().

reset_triple_count

Resets the internal counter of triples to zero.

NOTES ^

Sorry, there is no Notation3 parser for RDF::Simple. Not yet, anyway.

AUTHOR ^

Martin 'Kingpin' Thurn <mthurn@cpan.org>

LICENSE ^

This software is released under the same license as Perl itself.

syntax highlighting: