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 theNiceUriFactoryfor aNiceUritype.
-
Method Details
-
findFactory
Find theNiceUriFactoryfor aNiceUritype.- Type Parameters:
T- The type of theNiceUri.- Parameters:
uriClass- TheNiceUriclass to find aNiceUriFactoryfor.- Returns:
- The
NiceUriFactoryfor the URI class. - Throws:
IllegalArgumentException- if no factory was found for the URI class.
-