NAME
rdf/serializer - shared RDF serializer trait.
SYNOPSIS
from rdf/serializer import RdfSerializer;
DESCRIPTION
RdfSerializer provides the common serializer entry points used by the RDF serializer classes. Classes compose the trait and implement serialize.
EXPORTS
Traits
RdfSerializerserialize(Array quads)Placeholder serializer method. Classes using this trait should override it.
serialize_each(Array quads, Function emit)Serializes
quadsand callsemitwith the result when it is not empty. Returns the serializer.
COPYRIGHT AND LICENCE
rdf/serializer is copyright Toby Inkster.
It is free software; you may redistribute it and/or modify it under the terms of either the Artistic License 1.0 or the GNU General Public License version 2.