Class EasyRdf_Parser_Rapper

Description

Class to parse RDF using the 'rapper' command line tool.

Located in /EasyRdf/Parser/Rapper.php (line 46)

EasyRdf_Parser
   |
   --EasyRdf_Parser_RdfPhp
      |
      --EasyRdf_Parser_Json
         |
         --EasyRdf_Parser_Rapper
Method Summary
object EasyRdf_Parser_Rapper __construct ([string $rapperCmd = 'rapper'])
boolean parse (object EasyRdf_Graph $graph, string $data, string $format, string $baseUri)
Methods
Constructor __construct (line 56)

Constructor

  • access: public
object EasyRdf_Parser_Rapper __construct ([string $rapperCmd = 'rapper'])
  • string $rapperCmd: Optional path to the rapper command to use.

Redefinition of:
EasyRdf_Parser_RdfPhp::__construct()
Constructor
parse (line 79)

Parse an RDF document into an EasyRdf_Graph

  • return: true if parsing was successful
  • access: public
boolean parse (object EasyRdf_Graph $graph, string $data, string $format, string $baseUri)
  • object 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

Redefinition of:
EasyRdf_Parser_Json::parse()
Parse RDF/JSON into an EasyRdf_Graph

Inherited Methods

Inherited From EasyRdf_Parser_Json

EasyRdf_Parser_Json::parse()

Inherited From EasyRdf_Parser_RdfPhp

EasyRdf_Parser_RdfPhp::__construct()
EasyRdf_Parser_RdfPhp::parse()

Documentation generated on Wed, 20 Jul 2011 19:54:04 +0100 by phpDocumentor 1.4.3