public class DateConverterImpl extends Object implements DateConverter
DateConverter
. Its identifier is "http://art.uniroma2.it/coda/converters/date".Modifier and Type | Field and Description |
---|---|
static String |
CONVERTER_URI |
CONTRACT_URI
OSGI_SERVICE_PROPERTY_CONTRACT, OSGI_SERVICE_PROPERTY_CONVERTER, STATIC_FIELD_CONTRACT_URI, STATIC_FIELD_CONVERTER_URI
Constructor and Description |
---|
DateConverterImpl() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.rdf4j.model.Literal |
produceLiteral(CODAContext ctx,
String datatype,
String lang,
String value)
Gets a value and returns it as typed literal (xsd:date) formatted according to the date
pattern (yyyy-MM-dd).
|
public static final String CONVERTER_URI
public org.eclipse.rdf4j.model.Literal produceLiteral(CODAContext ctx, String datatype, String lang, String value) throws ConverterConfigurationException, ConversionException
DateConverter
produceLiteral
in interface DateConverter
ConverterConfigurationException
ConversionException
Copyright © 2022 ART Group, University of Rome, Tor Vergata. All rights reserved.