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


RDF-Simple-Serialiser-Notation3 documentation  | view source Contained in the RDF-Simple-Serialiser-Notation3 distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

PRIVATE METHODS

Top

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

Top

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

Top

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

AUTHOR

Top

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

LICENSE

Top

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


RDF-Simple-Serialiser-Notation3 documentation  | view source Contained in the RDF-Simple-Serialiser-Notation3 distribution.