Class LocalNamespace

  extended by org.eclipse.ecf.core.identity.Namespace
      extended by org.eclipse.ecf.provider.local.identity.LocalNamespace
All Implemented Interfaces:, org.eclipse.core.runtime.IAdaptable

public class LocalNamespace
extends Namespace

See Also:
Serialized Form

Field Summary
static java.lang.String NAME
static java.lang.String SCHEME
Fields inherited from class org.eclipse.ecf.core.identity.Namespace
Constructor Summary
Method Summary
 ID createInstance(java.lang.Object[] parameters)
          Make an instance of this namespace.
 java.lang.String getScheme()
          Get the primary scheme associated with this namespace.
Methods inherited from class org.eclipse.ecf.core.identity.Namespace
equals, getAdapter, getCompareToForObject, getDescription, getHashCodeForID, getInitStringFromExternalForm, getName, getNameForID, getSupportedParameterTypes, getSupportedSchemes, hashCode, initialize, testIDEquals, toExternalForm, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

Field Detail


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


public static final java.lang.String SCHEME
See Also:
Constant Field Values
Constructor Detail


public LocalNamespace()
Method Detail


public ID createInstance(java.lang.Object[] parameters)
                  throws IDCreateException
Description copied from class: Namespace
Make an instance of this namespace. Namespace subclasses, provided by plugins must implement this method to construct ID instances for the given namespace.

See Namespace.getSupportedParameterTypes() to get information relevant to deciding what parameter types are expected by this method.

Specified by:
createInstance in class Namespace
parameters - an Object[] of parameters for creating ID instances. May be null.
a non-null ID instance. The class used may extend BaseID or may implement the ID interface directly
IDCreateException - if construction fails


public java.lang.String getScheme()
Description copied from class: Namespace
Get the primary scheme associated with this namespace. Subclasses must provide an implementation that returns a non-null scheme identifier. Note that the returned scheme should not contain the Namespace.SCHEME_SEPARATOR (\":\").

Specified by:
getScheme in class Namespace
a String scheme identifier. Must not be null.