public abstract class BufferedValueConverter<V extends Value> extends AbstractValueConverter<V>
Constructor and Description |
---|
BufferedValueConverter(RdfWriter rdfWriter,
PropertyRegister propertyRegister,
OwlDeclarationBuffer rdfConversionBuffer) |
Modifier and Type | Method and Description |
---|---|
void |
writeAuxiliaryTriples()
Writes auxiliary triples that might be needed to encode a Wikibase value
in RDF.
|
abstract void |
writeValue(V value,
org.eclipse.rdf4j.model.Resource resource)
Writes the triples for a single value, using the given resource as
subject.
|
logIncompatibleValueError
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRdfValue
public BufferedValueConverter(RdfWriter rdfWriter, PropertyRegister propertyRegister, OwlDeclarationBuffer rdfConversionBuffer)
public void writeAuxiliaryTriples() throws org.eclipse.rdf4j.rio.RDFHandlerException
ValueConverter
writeAuxiliaryTriples
in interface ValueConverter<V extends Value>
writeAuxiliaryTriples
in class AbstractValueConverter<V extends Value>
org.eclipse.rdf4j.rio.RDFHandlerException
- if there is a problem writing the triplespublic abstract void writeValue(V value, org.eclipse.rdf4j.model.Resource resource) throws org.eclipse.rdf4j.rio.RDFHandlerException
value
- resource
- org.eclipse.rdf4j.rio.RDFHandlerException
Copyright © 2014–2024 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage