org.gcube.common.uri.ap
Class ScopedAPAdapter

java.lang.Object
  extended by 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

Constructor Summary
ScopedAPAdapter(ScopedAuthorityProvider provider)
          Creates an instance that delegates to a given ScopedAuthorityProvider
 
Method Summary
 String authority()
          Returns the naming authority for a URI produced by a Mint.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScopedAPAdapter

public ScopedAPAdapter(ScopedAuthorityProvider provider)
Creates an instance that delegates to a given ScopedAuthorityProvider

Parameters:
provider - the provider
Method Detail

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.