org.gcube.common.uri.ap
Class ScopedAPAdapter
java.lang.Object
org.gcube.common.uri.ap.ScopedAPAdapter
- All Implemented Interfaces:
- AuthorityProvider
public class ScopedAPAdapter
- extends Object
- implements AuthorityProvider
An AuthorityProvider that provides the authority in the current scope.
The provider delegates the identification of the authority to a ScopedAuthorityProvider.
- Author:
- Fabio Simeoni
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScopedAPAdapter
public ScopedAPAdapter(ScopedAuthorityProvider provider)
- Creates an instance that delegates to a given
ScopedAuthorityProvider
- Parameters:
provider - the provider
authority
public String authority()
- Description copied from interface:
AuthorityProvider
- Returns the naming authority for a URI produced by a
Mint.
- Specified by:
authority in interface AuthorityProvider
- Returns:
- the authority
Copyright © 2013. All Rights Reserved.