Interface UriFactoryRegistry
- All Known Implementing Classes:
UriFactoryRegistryImpl
public interface UriFactoryRegistry
A registry of all
NiceUriFactories
-
Method Summary
Modifier and TypeMethodDescription<T extends NiceUri>
NiceUriFactory<T> findFactory
(Class<T> uriClass) Find theNiceUriFactory
for aNiceUri
type.
-
Method Details
-
findFactory
Find theNiceUriFactory
for aNiceUri
type.- Type Parameters:
T
- The type of theNiceUri
.- Parameters:
uriClass
- TheNiceUri
class to find aNiceUriFactory
for.- Returns:
- The
NiceUriFactory
for the URI class. - Throws:
IllegalArgumentException
- if no factory was found for the URI class.
-