2016/05/28 - Apache Tuscany has been retired.

For more information, please explore the Attic.



org.apache.tuscany.sca.contribution.namespace
Interface NamespaceImport

All Superinterfaces:
Import
All Known Implementing Classes:
NamespaceImportImpl

public interface NamespaceImport
extends Import

The representation of an XML namespace import.


Method Summary
 java.lang.String getLocation()
          Get the location used to resolve the definitions for this import
 java.lang.String getNamespace()
          Get Namespace that identifies the import
 void setLocation(java.lang.String location)
          Set the location used to resolve the definitions for this import
 void setNamespace(java.lang.String namespace)
          Set Namespace that identifies the import
 
Methods inherited from interface org.apache.tuscany.sca.contribution.Import
getModelResolver, match, setModelResolver
 

Method Detail

getLocation

java.lang.String getLocation()
Get the location used to resolve the definitions for this import

Returns:
The import location

setLocation

void setLocation(java.lang.String location)
Set the location used to resolve the definitions for this import

Parameters:
location - The import location

getNamespace

java.lang.String getNamespace()
Get Namespace that identifies the import

Returns:
The namespace

setNamespace

void setNamespace(java.lang.String namespace)
Set Namespace that identifies the import

Parameters:
namespace - The namespace