org.eclipse.ecf.provider.r_osgi.identity
Class R_OSGiNamespace

java.lang.Object
  extended by org.eclipse.ecf.core.identity.Namespace
      extended by org.eclipse.ecf.provider.r_osgi.identity.R_OSGiNamespace
All Implemented Interfaces:
java.io.Serializable, org.eclipse.core.runtime.IAdaptable

public class R_OSGiNamespace
extends Namespace

The R-OSGi default transport namespace (r-osgi://).

See Also:
Serialized Form

Field Summary
static java.lang.String NAME
           
static java.lang.String NAMESPACE_SCHEME
          the namespace scheme.
 
Fields inherited from class org.eclipse.ecf.core.identity.Namespace
SCHEME_SEPARATOR
 
Constructor Summary
R_OSGiNamespace()
          constructor.
 
Method Summary
 ID createInstance(java.lang.Object[] parameters)
          create a new ID within this namespace.
static Namespace getDefault()
          get the singleton instance of this namespace.
 java.lang.String getScheme()
          get the scheme of this namespace.
 java.lang.String[] getSupportedSchemes()
          get all supported schemes.
 
Methods inherited from class org.eclipse.ecf.core.identity.Namespace
equals, getAdapter, getCompareToForObject, getDescription, getHashCodeForID, getInitStringFromExternalForm, getName, getNameForID, getSupportedParameterTypes, hashCode, initialize, testIDEquals, toExternalForm, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

NAMESPACE_SCHEME

public static final java.lang.String NAMESPACE_SCHEME
the namespace scheme.

See Also:
Constant Field Values
Constructor Detail

R_OSGiNamespace

public R_OSGiNamespace()
constructor.

Method Detail

getDefault

public static Namespace getDefault()
get the singleton instance of this namespace.

Returns:
the instance.

createInstance

public ID createInstance(java.lang.Object[] parameters)
                  throws IDCreateException
create a new ID within this namespace.

Specified by:
createInstance in class Namespace
Parameters:
parameters - the parameter to pass to the ID.
Returns:
the new ID
Throws:
IDCreateException - if the creation fails.
See Also:
Namespace.createInstance(java.lang.Object[])

getScheme

public java.lang.String getScheme()
get the scheme of this namespace.

Specified by:
getScheme in class Namespace
Returns:
the scheme.
See Also:
Namespace.getScheme()

getSupportedSchemes

public java.lang.String[] getSupportedSchemes()
get all supported schemes.

Overrides:
getSupportedSchemes in class Namespace
Returns:
an array of supported schemes.
See Also:
Namespace.getSupportedSchemes()