Attean::API::AbbreviatingSerializer - Role for serializers that can abbreviate IRIs as prefixed names or relative IRIs
This document describes Attean::API::AbbreviatingSerializer version 0.026
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:
The following attributes exist:
An Attean::API::IRI object representing the base against which relative IRIs in the serialized data should be resolved.
A URI::NamespaceMap object representing prefix and namespace URI pairs that can be used to create abbreviations.
A boolean attribute that can be set to true if the serializer should not include the base URI in the serialized output. This is useful for making relative URIs that can be resolved by other systems.
Please report any bugs or feature requests to through the GitHub web interface at https://github.com/kasei/attean/issues.
Gregory Todd Williams
Copyright (c) 2014--2019 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.