@Description(value="Default converter.\nIf it is used with the \'uri\' capability, it generates a URI concatenating the baseUri to the given input. If the input string is already a URI, it returns the same.\nOtherwise, if it is used with the \'literal\' capability, it simply returns the given input as a Literal.") public interface DefaultConverter extends Converter
Modifier and Type | Field and Description |
---|---|
static String |
CONTRACT_URI |
OSGI_SERVICE_PROPERTY_CONTRACT, OSGI_SERVICE_PROPERTY_CONVERTER, STATIC_FIELD_CONTRACT_URI, STATIC_FIELD_CONVERTER_URI
Modifier and Type | Method and Description |
---|---|
org.eclipse.rdf4j.model.Literal |
produceLiteral(CODAContext ctx,
String datatype,
String lang,
String value) |
org.eclipse.rdf4j.model.IRI |
produceURI(CODAContext ctx,
String value) |
static final String CONTRACT_URI
@FeaturePathArgument(requirementLevel=REQUIRED) org.eclipse.rdf4j.model.IRI produceURI(CODAContext ctx, String value)
@FeaturePathArgument(requirementLevel=REQUIRED) org.eclipse.rdf4j.model.Literal produceLiteral(CODAContext ctx, String datatype, String lang, String value)
Copyright © 2022 ART Group, University of Rome, Tor Vergata. All rights reserved.