protected function 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

9 calls to EasyRdf_Parser::remapBnode()
EasyRdf_Parser_Json::parseJsonTriples in drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/Json.php
Parse the triple-centric JSON format, as output by libraptor
EasyRdf_Parser_Ntriples::parseNtriplesObject in drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/Ntriples.php
@ignore
EasyRdf_Parser_Ntriples::parseNtriplesSubject in drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/Ntriples.php
@ignore
EasyRdf_Parser_Rdfa::expandCurie in drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/Rdfa.php
EasyRdf_Parser_RdfPhp::parse in drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/RdfPhp.php
Parse RDF/PHP into an EasyRdf_Graph

... See full list

File

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

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];
}