Attean::API::AbbreviatingSerializer(3pm)

Attean::API::AbbreviatingSerializer3pm

Role for serializers that can abbreviate iris as prefixed names or relative iris

Version

This document describes Attean::API::AbbreviatingSerializer version 0.035

Overview

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.

Roles

This role consumes the Attean::API::Serializer roles which provide the following methods:

"serialize_list_to_io( $fh, @elements )"
serialize_list_to_bytes( @elements )

Attributes

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 URI::NamespaceMap object representing prefix and namespace URI pairs that can be used to create abbreviations.

"omit_base"

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.

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

Bugs

Please report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/attean/issues>.

Author

Gregory Todd Williams "<[email protected]>"

From libattean-perl 0.035-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.