ValueConverter<V>BufferedValueConverter, EntityIdValueConverter, MonolingualTextValueConverter, StringValueConverterpublic abstract class AbstractValueConverter<V extends org.wikidata.wdtk.datamodel.interfaces.Value> extends java.lang.Object implements ValueConverter<V>
| Constructor | Description |
|---|---|
AbstractValueConverter(RdfWriter rdfWriter,
PropertyRegister propertyRegister,
OwlDeclarationBuffer rdfConversionBuffer) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
logIncompatibleValueError(org.wikidata.wdtk.datamodel.interfaces.PropertyIdValue propertyIdValue,
java.lang.String datatype,
java.lang.String valueType) |
Logs a message for a case where the value of a property does not fit to
its declared datatype.
|
void |
writeAuxiliaryTriples() |
Writes auxiliary triples that might be needed to encode a Wikibase value
in RDF.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRdfValuepublic AbstractValueConverter(RdfWriter rdfWriter, PropertyRegister propertyRegister, OwlDeclarationBuffer rdfConversionBuffer)
public void writeAuxiliaryTriples()
throws org.openrdf.rio.RDFHandlerException
ValueConverterwriteAuxiliaryTriples in interface ValueConverter<V extends org.wikidata.wdtk.datamodel.interfaces.Value>org.openrdf.rio.RDFHandlerException - if there is a problem writing the triplesprotected void logIncompatibleValueError(org.wikidata.wdtk.datamodel.interfaces.PropertyIdValue propertyIdValue,
java.lang.String datatype,
java.lang.String valueType)
propertyIdValue - the property that was useddatatype - the declared type of the propertyvalueType - a string to denote the type of valueCopyright © 2014–2017 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage