org.eclipse.rdf4j.rio

## Class DatatypeHandlerRegistry

- java.lang.Object
- - org.eclipse.rdf4j.common.lang.service.ServiceRegistry<String,DatatypeHandler>
  - - org.eclipse.rdf4j.rio.DatatypeHandlerRegistry

-     public class DatatypeHandlerRegistry
      extends ServiceRegistry<String,DatatypeHandler>

  Registry of `DatatypeHandler`s.
  Author:
    Peter Ansell

- - ### Field Summary

    - ### Fields inherited from class org.eclipse.rdf4j.common.lang.service.ServiceRegistry

      `logger, services`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DatatypeHandlerRegistry()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static DatatypeHandlerRegistry` | `getInstance()` Gets the default DatatypeHandlerRegistry.
    `protected String` | `getKey(DatatypeHandler handler)` Gets the key for the specified service.

    - ### Methods inherited from class org.eclipse.rdf4j.common.lang.service.ServiceRegistry

      `add, get, getAll, getKeys, has, remove`

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### DatatypeHandlerRegistry

          public DatatypeHandlerRegistry()

  - ### Method Detail

    - #### getInstance

          public static DatatypeHandlerRegistry getInstance()

      Gets the default DatatypeHandlerRegistry.
      Returns:
        The default registry.

    - #### getKey

          protected String getKey(DatatypeHandler handler)

      Description copied from class: `ServiceRegistry`
      Gets the key for the specified service.
      Specified by:
        `getKey` in class `ServiceRegistry<String,DatatypeHandler>`
      Parameters:
        `handler` - The service to get the key for.
      Returns:
        The key for the specified service.

Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.