org.eclipse.ecf.provider.remoteservice.generic
Class RemoteServiceNamespace
java.lang.Object
  
org.eclipse.ecf.core.identity.Namespace
      
org.eclipse.ecf.provider.remoteservice.generic.RemoteServiceNamespace
- All Implemented Interfaces: 
 - java.io.Serializable, org.eclipse.core.runtime.IAdaptable
 
public class RemoteServiceNamespace
- extends Namespace
 
- Since:
 
  - 3.0
 
- See Also:
 - Serialized Form
 
| 
Field Summary | 
static java.lang.String | 
NAME
 
            | 
 
 
 
| 
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 | 
 
NAME
public static final java.lang.String NAME
- See Also:
 - Constant Field Values
 
RemoteServiceNamespace
public RemoteServiceNamespace()
RemoteServiceNamespace
public RemoteServiceNamespace(java.lang.String name,
                              java.lang.String desc)
createInstance
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:
 parameters - an Object[] of parameters for creating ID instances. May be
            null.
- Returns:
 - a non-null ID instance. The class used may extend BaseID or may
         implement the ID interface directly
 - Throws:
 IDCreateException - if construction fails
 
 
getScheme
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
 
- Returns:
 - a String scheme identifier. Must not be 
null.