RedlandDave Beckett |
|||||
|
Redland BindingsLanguagesDemonstrationsDownloadsData |
Redland RDF Language Bindings - Perl RDF::Redland::Serializer ClassNAMERDF::Redland::Serializer - Redland RDF Serializing to Syntax Class SYNOPSISuse RDF::Redland;
...
my $serializer=new RDF::Redland::Serializer("ntriples");
$serializer->serialize_model_to_file("foo.rdf", $base_uri, $model);
DESCRIPTIONThis class represents serializers that turn RDF graphs into various syntaxes. from an RDF::Redland::Model object. CONSTRUCTORS
METHODS
Serialize the RDF Graph MODEL to a syntax. If no serializer name is given, the default serializer RDF/XML is used. Define a namespace URI with the supplied PREFIX for use in serializing an RDF Graph. Get/set a serializer feature. The feature is named via RDF::Redland::URI URI and the value is a string. If VALUE is given, the feature is set to that value, otherwise the current value is returned. SEE ALSOthe RDF::Redland::Parser manpage, the RDF::Redland::URI manpage AUTHORDave Beckett - http://www.dajobe.org/ (C) Copyright (C) 2000-2007 Dave Beckett, (C) Copyright (C) 2000-2005 University of Bristol |