The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

  RDF::Core::Model::Serializer - interface between model and RDF::Core::Serializer

SYNOPSIS

  require RDF::Core::Model::Serializer;

  my $xml = '';
  my $serializer = new RDF::Core::Model::Serializer(Model=>$model,
                                                    Output=>\$xml,
                                                    BaseURI => 'URI://BASE/',
                                                   );
  $serializer->serialize;
  print "$xml\n";

DESCRIPTION

A Model::Serializer object sets handlers for serializer, connecting the serializer with a specific model.

Interface

  • new(%options)

    Avaliable options are:

    • Model

      A reference to RDF::Core::Model object - the RDF model I want to serialize.

    • Output, BaseURI

      See RDF::Core::Serializer options

  • getOptions

  • setOptions(\%options)

  • serialize

LICENSE

This package is subject to the MPL (or the GPL alternatively).

AUTHOR

Ginger Alliance, rdf@gingerall.cz

SEE ALSO

RDF::Core::Serializer, RDF::Core::Model