1Attean::API::AbbreviatiUnsgeSrerCioanltirziebru(t3e)d PeArtlteDaonc:u:mAePnIt:a:tAibobnreviatingSerializer(3)
2
3
4
6 Attean::API::AbbreviatingSerializer - Role for serializers that can
7 abbreviate IRIs as prefixed names or relative IRIs
8
10 This document describes Attean::API::AbbreviatingSerializer version
11 0.030
12
14 The Attean::API::AbbreviatingSerializer role defines an API for
15 serializers of RDF and SPARQL result data that can abbreviate IRI
16 values as prefixed names or relative IRIs.
17
19 This role consumes the Attean::API::Serializer roles which provide the
20 following methods:
21
22 "serialize_list_to_io( $fh, @elements )"
23 "serialize_list_to_bytes( @elements )"
24
26 The following attributes exist:
27
28 "base"
29 An Attean::API::IRI object representing the base against which
30 relative IRIs in the serialized data should be resolved.
31
32 "namespaces"
33 A URI::NamespaceMap object representing prefix and namespace URI
34 pairs that can be used to create abbreviations.
35
36 "omit_base"
37 A boolean attribute that can be set to true if the serializer
38 should not include the base URI in the serialized output. This is
39 useful for making relative URIs that can be resolved by other
40 systems.
41
43 Please report any bugs or feature requests to through the GitHub web
44 interface at <https://github.com/kasei/attean/issues>.
45
48 Gregory Todd Williams "<gwilliams@cpan.org>"
49
51 Copyright (c) 2014--2020 Gregory Todd Williams. This program is free
52 software; you can redistribute it and/or modify it under the same terms
53 as Perl itself.
54
55
56
57perl v5.32.1 2021-02A-t0t8ean::API::AbbreviatingSerializer(3)