EasyRdf API Documentation
Class

EasyRdf_Parser_Redland

class EasyRdf_Parser_Redland extends EasyRdf_Parser

Class to parse RDF using Redland (librdf) C library.

Constants

LIBRDF_PARSER_FEATURE_ERROR_COUNT

Parser feature URI string for getting the error count of last parse.

Methods

integer parse(object $graph, string $data, string $format, string $baseUri)

Parse an RDF document into an EasyRdf_Graph

object __construct()

Constructor

Details

at line 193
public integer parse(object $graph, string $data, string $format, string $baseUri)

Parse an RDF document into an EasyRdf_Graph

Parameters

object $graph EasyRdf_Graph $graph the graph to load the data into
string $data the RDF document data
string $format the format of the input data
string $baseUri the base URI of the data being parsed

Return Value

integer The number of triples added to the graph

at line 168
public object __construct()

Constructor

Return Value

object EasyRdfParserRedland