Scroll to navigation

AtteanX::Serializer::RDFXML(3pm) User Contributed Perl Documentation AtteanX::Serializer::RDFXML(3pm)

NAME

AtteanX::Serializer::RDFXML - RDF/XML Serializer

VERSION

This document describes AtteanX::Serializer::RDFXML version 0.033

SYNOPSIS

 use Attean;
 my $s = Attean->get_serializer('RDFXML')->new();
 $s->serialize_iter_to_io( $fh, $iter );

DESCRIPTION

...

ATTRIBUTES

"canonical_media_type"
"scoped_namespaces"
"file_extensions"
"file_extensions"

METHODS

"file_extensions"
Returns a list of file extensions associated with the serialized format.
"media_types"
Returns a list of media types that identify the format produced by this serializer.
"serialize_iter_to_io( $fh, $iterator )"
Serializes the Attean::API::Triple objects from $iterator to the IO::Handle object $fh (which SHOULD be open with the UTF-8 encoding).
"serialize_iter_to_bytes( $iterator )"
Serializes the Attean::API::Triple objects from $iterator and returns the serialization as a UTF-8 encoded byte string.

BUGS

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

SEE ALSO

<http://www.w3.org/TR/rdf-syntax-grammar/>

AUTHOR

Gregory Todd Williams "<gwilliams@cpan.org>"

COPYRIGHT

Copyright (c) 2014--2022 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2022-10-06 perl v5.34.0