Class ConverterFromObjectToLexicalFormViaRDFDatatype

java.lang.Object
com.google.common.base.Converter<Object,String>
org.aksw.jena_sparql_api.rdf.collections.ConverterFromObjectToLexicalFormViaRDFDatatype
All Implemented Interfaces:
com.google.common.base.Function<Object,String>, Function<Object,String>

public class ConverterFromObjectToLexicalFormViaRDFDatatype extends com.google.common.base.Converter<Object,String>
A converter between Objects and lexical forms (Strings) via RDFDatatype.
Author:
raven
  • Field Details

    • rdfDatatype

      protected org.apache.jena.datatypes.RDFDatatype rdfDatatype
  • Constructor Details

    • ConverterFromObjectToLexicalFormViaRDFDatatype

      public ConverterFromObjectToLexicalFormViaRDFDatatype(org.apache.jena.datatypes.RDFDatatype rdfDatatype)
  • Method Details

    • doForward

      protected String doForward(Object value)
      Specified by:
      doForward in class com.google.common.base.Converter<Object,String>
    • doBackward

      protected Object doBackward(String lexicalForm)
      Specified by:
      doBackward in class com.google.common.base.Converter<Object,String>