Package org.eclipse.rdf4j.rio
Class DatatypeHandlerRegistry
- java.lang.Object
-
- org.eclipse.rdf4j.common.lang.service.ServiceRegistry<java.lang.String,DatatypeHandler>
-
- org.eclipse.rdf4j.rio.DatatypeHandlerRegistry
-
public class DatatypeHandlerRegistry extends ServiceRegistry<java.lang.String,DatatypeHandler>
Registry ofDatatypeHandler
s.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
DatatypeHandlerRegistry.DatatypeHandlerRegistryHolder
Internal helper class to avoid continuous synchronized checking.
-
Field Summary
-
Fields inherited from class org.eclipse.rdf4j.common.lang.service.ServiceRegistry
logger, services
-
-
Constructor Summary
Constructors Constructor Description DatatypeHandlerRegistry()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatatypeHandlerRegistry
getInstance()
Gets the default DatatypeHandlerRegistry.protected java.lang.String
getKey(DatatypeHandler handler)
Gets the key for the specified service.
-
-
-
Method Detail
-
getInstance
public static DatatypeHandlerRegistry getInstance()
Gets the default DatatypeHandlerRegistry.- Returns:
- The default registry.
-
getKey
protected java.lang.String getKey(DatatypeHandler handler)
Description copied from class:ServiceRegistry
Gets the key for the specified service.- Specified by:
getKey
in classServiceRegistry<java.lang.String,DatatypeHandler>
- Parameters:
handler
- The service to get the key for.- Returns:
- The key for the specified service.
-
-