public function EasyRdf_Parser::parse

Sub-classes must follow this protocol @ignore

5 methods override EasyRdf_Parser::parse()
EasyRdf_Parser_Ntriples::parse in drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/Ntriples.php
Parse an N-Triples document into an EasyRdf_Graph
EasyRdf_Parser_Rdfa::parse in drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/Rdfa.php
Parse RDFa 1.1 into an EasyRdf_Graph
EasyRdf_Parser_RdfPhp::parse in drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/RdfPhp.php
Parse RDF/PHP into an EasyRdf_Graph
EasyRdf_Parser_RdfXml::parse in drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/RdfXml.php
Parse an RDF/XML document into an EasyRdf_Graph
EasyRdf_Parser_Redland::parse in drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/Redland.php
Parse an RDF document into an EasyRdf_Graph

File

drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Parser.php, line 133

Class

EasyRdf_Parser
Parent class for the EasyRdf parsers

Code

public function parse($graph, $data, $format, $baseUri) {
  throw new EasyRdf_Exception("This method should be overridden by sub-classes.");
}