Class RDFDatatypeHandler

  • All Implemented Interfaces:
    DatatypeHandler

    public class RDFDatatypeHandler
    extends java.lang.Object
    implements DatatypeHandler
    An implementation of a datatype handler that can process RDF built-in datatypes.
    • Constructor Summary

      Constructors 
      Constructor Description
      RDFDatatypeHandler()
      Default constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getKey()
      A unique key for this datatype handler to identify it in the DatatypeHandlerRegistry.
      boolean isRecognizedDatatype​(IRI datatypeUri)
      Checks if the given datatype URI is recognized by this datatype handler.
      Literal normalizeDatatype​(java.lang.String literalValue, IRI datatypeUri, ValueFactory valueFactory)
      Normalize both the datatype URI and the literal value if appropriate, and use the given value factory to generate a literal matching a literal value and datatype URI.
      boolean verifyDatatype​(java.lang.String literalValue, IRI datatypeUri)
      Verifies that the datatype URI is valid, including a check on the structure of the literal value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait