Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\Rdf\Values\ObjectUriRdfBuilder Class Reference

RDF mapping for DataValues that map to a resource (object) URI. More...

+ Inheritance diagram for Wikibase\Repo\Rdf\Values\ObjectUriRdfBuilder:
+ Collaboration diagram for Wikibase\Repo\Rdf\Values\ObjectUriRdfBuilder:

Public Member Functions

 addValue (RdfWriter $writer, $propertyValueNamespace, $propertyValueLName, $dataType, $snakNamespace, PropertyValueSnak $snak)
 Adds specific value.
 

Protected Member Functions

 getValueUri (DataValue $value)
 

Detailed Description

RDF mapping for DataValues that map to a resource (object) URI.

Author
Daniel Kinzler
Stas Malyshev

Member Function Documentation

◆ addValue()

Wikibase\Repo\Rdf\Values\ObjectUriRdfBuilder::addValue ( RdfWriter  $writer,
  $propertyValueNamespace,
  $propertyValueLName,
  $dataType,
  $snakNamespace,
PropertyValueSnak  $snak 
)

Adds specific value.

Parameters
RdfWriter$writer
string$propertyValueNamespaceProperty value relation namespace
string$propertyValueLNameProperty value relation name
string$dataTypeProperty data type
PropertyValueSnak$snak

Implements Wikibase\Repo\Rdf\ValueSnakRdfBuilder.

◆ getValueUri()

Wikibase\Repo\Rdf\Values\ObjectUriRdfBuilder::getValueUri ( DataValue  $value)
protected

The documentation for this class was generated from the following file: