librdf_new_parser

Name

librdf_new_parser --  Constructor - create a new librdf_parser object

Synopsis

librdf_parser* librdf_new_parser (librdf_world * world, const char * name, const char * mime_type, librdf_uri * type_uri);

Arguments

world

redland world object

name

the parser factory name

mime_type

the MIME type of the syntax (NULL if not used)

type_uri

URI of syntax (NULL if not used)

Description

If all fields are NULL, this means any parser supporting MIME Type "application/rdf+xml"

Return value

new librdf_parser object or NULL