Class BufferedValueConverter<V extends Value>

java.lang.Object
org.wikidata.wdtk.rdf.values.AbstractValueConverter<V>
org.wikidata.wdtk.rdf.values.BufferedValueConverter<V>
All Implemented Interfaces:
ValueConverter<V>
Direct Known Subclasses:
GlobeCoordinatesValueConverter, QuantityValueConverter, TimeValueConverter

public abstract class BufferedValueConverter<V extends Value> extends AbstractValueConverter<V>
  • Constructor Details

  • Method Details

    • writeAuxiliaryTriples

      public void writeAuxiliaryTriples() throws org.eclipse.rdf4j.rio.RDFHandlerException
      Description copied from interface: ValueConverter
      Writes auxiliary triples that might be needed to encode a Wikibase value in RDF.
      Specified by:
      writeAuxiliaryTriples in interface ValueConverter<V extends Value>
      Overrides:
      writeAuxiliaryTriples in class AbstractValueConverter<V extends Value>
      Throws:
      org.eclipse.rdf4j.rio.RDFHandlerException - if there is a problem writing the triples
    • writeValue

      public abstract void writeValue(V value, org.eclipse.rdf4j.model.Resource resource) throws org.eclipse.rdf4j.rio.RDFHandlerException
      Writes the triples for a single value, using the given resource as subject.
      Parameters:
      value -
      resource -
      Throws:
      org.eclipse.rdf4j.rio.RDFHandlerException