protected function EasyRdf_Parser::remapBnode in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Parser.php \EasyRdf_Parser::remapBnode()
Create a new, unique bnode identifier from a source identifier. If the source identifier has previously been seen, the same new bnode identifier is returned. @ignore
10 calls to EasyRdf_Parser::remapBnode()
- EasyRdf_Parser_Json::parseJsonTriples in vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Parser/ Json.php - Parse the triple-centric JSON format, as output by libraptor
- 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::parseNtriplesObject in vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Parser/ Ntriples.php - @ignore
- EasyRdf_Parser_Ntriples::parseNtriplesSubject in vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Parser/ Ntriples.php - @ignore
- EasyRdf_Parser_Rdfa::expandCurie in vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Parser/ Rdfa.php
File
- vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Parser.php, line 68
Class
- EasyRdf_Parser
- Parent class for the EasyRdf parsers
Code
protected function remapBnode($name) {
if (!isset($this->bnodeMap[$name])) {
$this->bnodeMap[$name] = $this->graph
->newBNodeId();
}
return $this->bnodeMap[$name];
}