Attean::API::AbbreviatingSerializer - Role for serializers that can abbreviate IRIs as prefixed names or relative IRIs
This document describes Attean::API::AbbreviatingSerializer version 0.015
The Attean::API::AbbreviatingSerializer role defines an API for serializers of RDF and SPARQL result data that can abbreviate IRI values as prefixed names or relative IRIs.
This role consumes the Attean::API::Serializer roles which provide the following methods:
serialize_list_to_io( $fh, @elements )
serialize_list_to_bytes( @elements )
The following attributes exist:
base
An Attean::API::IRI object representing the base against which relative IRIs in the serialized data should be resolved.
namespaces
A HASH reference mapping prefix strings to URI::NamespaceMap objects.
Please report any bugs or feature requests to through the GitHub web interface at https://github.com/kasei/attean/issues.
http://www.perlrdf.org/
Gregory Todd Williams <gwilliams@cpan.org>
<gwilliams@cpan.org>
Copyright (c) 2014--2016 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Attean, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Attean
CPAN shell
perl -MCPAN -e shell install Attean
For more information on module installation, please visit the detailed CPAN module installation guide.