Class GlobeCoordinatesValueConverter

All Implemented Interfaces:
ValueConverter<GlobeCoordinatesValue>

public class GlobeCoordinatesValueConverter extends BufferedValueConverter<GlobeCoordinatesValue>
  • Constructor Details

  • Method Details

    • getRdfValue

      public org.eclipse.rdf4j.model.Value getRdfValue(GlobeCoordinatesValue value, PropertyIdValue propertyIdValue, boolean simple)
      Description copied from interface: ValueConverter
      Returns an RDF value that should be used to represent the given Wikibase data value in RDF.
      Parameters:
      value - the value to convert
      propertyIdValue - the property for which this value was used; this provides important context information for the conversion
      simple - if true, use a simplified conversion to RDF and do not convert values that are inherently complex
      Returns:
      the RDF value to use for representing the data value in RDF
    • writeValue

      public void writeValue(GlobeCoordinatesValue value, org.eclipse.rdf4j.model.Resource resource) throws org.eclipse.rdf4j.rio.RDFHandlerException
      Description copied from class: BufferedValueConverter
      Writes the triples for a single value, using the given resource as subject.
      Specified by:
      writeValue in class BufferedValueConverter<GlobeCoordinatesValue>
      Throws:
      org.eclipse.rdf4j.rio.RDFHandlerException