You are here

public function EasyRdf_Parser::parse in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Parser.php \EasyRdf_Parser::parse()

Sub-classes must follow this protocol @ignore

6 methods override EasyRdf_Parser::parse()
EasyRdf_Parser_JsonLd::parse in vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/JsonLdImplementation.php
Parse a JSON-LD document into an EasyRdf_Graph
EasyRdf_Parser_Ntriples::parse in vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/Ntriples.php
Parse an N-Triples document into an EasyRdf_Graph
EasyRdf_Parser_Rdfa::parse in vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/Rdfa.php
Parse RDFa 1.1 into an EasyRdf_Graph
EasyRdf_Parser_RdfPhp::parse in vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/RdfPhp.php
Parse RDF/PHP into an EasyRdf_Graph
EasyRdf_Parser_RdfXml::parse in vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/RdfXml.php
Parse an RDF/XML document into an EasyRdf_Graph

... See full list

File

vendor/easyrdf/easyrdf/lib/EasyRdf/Parser.php, line 135

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.");
}