RDF::Trine::Serializer::RDFa(3pm) | User Contributed Perl Documentation | RDF::Trine::Serializer::RDFa(3pm) |
RDF::Trine::Serializer::RDFa - RDFa Serializer for RDF::Trine
use RDF::Trine::Serializer; my $s = RDF::Trine::Serializer->new('RDFa', style => 'HTML::Hidden'); my $string = $s->serialize_model_to_string($model);
The RDF::Trine::Serializer class provides an API for serializing RDF graphs to strings and files. This subclass provides RDFa serialization via RDF::RDFa::Generator.
It is intended that this module will replace the RDF::Trine compatibility methods in RDF::RDFa::Generator, which are now deprecated. This is done to allow both RDF::Trine and Attean to use it, but not require them as dependencies.
Beyond the methods documented below, this class inherits methods from the RDF::Trine::Serializer class.
Please report any bugs to <https://github.com/kjetilk/p5-rdf-trine-serializer-rdfa/issues>.
RDF::RDFa::Generator, RDF::Trine, Attean
This module is mostly a straightforward port with substantial cutnpaste from RDF::RDFa::Generator and RDF::Trine by Toby Inkster and Gregory Todd Williams respectively.
Kjetil Kjernsmo <kjetilk@cpan.org>.
This software is copyright (c) 2017, 2018, 2019 by Kjetil Kjernsmo.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
2022-12-04 | perl v5.36.0 |