Class AbstractStringToRDF4JValueConverter<T extends org.eclipse.rdf4j.model.Value>

java.lang.Object
it.uniroma2.art.semanticturkey.converters.AbstractStringToRDF4JValueConverter<T>
All Implemented Interfaces:
org.springframework.core.convert.converter.GenericConverter
Direct Known Subclasses:
StringToRDF4JBNodeConverter, StringToRDF4JIRIConverter, StringToRDF4JLiteralConverter, StringToRDF4JResourceConverter, StringToRDF4JValueConverter

public class AbstractStringToRDF4JValueConverter<T extends org.eclipse.rdf4j.model.Value> extends Object implements org.springframework.core.convert.converter.GenericConverter
Converts the NT serialization of an RDF term to an object implementing Value.
Author:
Manuel Fiorelli
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.springframework.core.convert.converter.GenericConverter

    org.springframework.core.convert.converter.GenericConverter.ConvertiblePair
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(Object source, org.springframework.core.convert.TypeDescriptor sourceType, org.springframework.core.convert.TypeDescriptor targetType)
     
    Set<org.springframework.core.convert.converter.GenericConverter.ConvertiblePair>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractStringToRDF4JValueConverter

      public AbstractStringToRDF4JValueConverter(Class<T> expectedType)
  • Method Details

    • getConvertibleTypes

      public Set<org.springframework.core.convert.converter.GenericConverter.ConvertiblePair> getConvertibleTypes()
      Specified by:
      getConvertibleTypes in interface org.springframework.core.convert.converter.GenericConverter
    • convert

      public Object convert(Object source, org.springframework.core.convert.TypeDescriptor sourceType, org.springframework.core.convert.TypeDescriptor targetType)
      Specified by:
      convert in interface org.springframework.core.convert.converter.GenericConverter