org.obe.client.api.repository
Class CompletionStrategyMetaData

java.lang.Object
  extended byorg.obe.client.api.repository.AbstractMetaData
      extended byorg.obe.client.api.repository.ImplClassMetaData
          extended byorg.obe.client.api.repository.CompletionStrategyMetaData
All Implemented Interfaces:
java.io.Serializable

public final class CompletionStrategyMetaData
extends ImplClassMetaData

Describes an activity completion strategy implementation.

Author:
Adrian Price
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.obe.client.api.repository.AbstractMetaData
_author, _description, _displayName, _docUrl, _id, _threadsafe, _type, allowInheritance, EMPTY_ARGS, NO_ARGS_SIG
 
Constructor Summary
CompletionStrategyMetaData()
          Constructs completion strategy meta-data.
CompletionStrategyMetaData(java.lang.String id, java.lang.String displayName, java.lang.String description, java.lang.String docUrl, java.lang.String author, java.lang.String implClass)
          Constructs completion strategy meta-data.
 
Method Summary
 java.lang.Object createInstance(org.xml.sax.EntityResolver entityResolver)
          Returns the class that implements the completion strategy.
 java.lang.String toString()
           
 
Methods inherited from class org.obe.client.api.repository.ImplClassMetaData
getImplClass, getImplCtorSig, setImplClass, setImplCtorSig
 
Methods inherited from class org.obe.client.api.repository.AbstractMetaData
createInstance, createInstance, getAuthor, getDescription, getDisplayName, getDocUrl, getId, getThreadsafe, getType, isThreadsafe, setAuthor, setDescription, setDisplayName, setDocUrl, setId, setThreadsafe, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompletionStrategyMetaData

public CompletionStrategyMetaData()
Constructs completion strategy meta-data.


CompletionStrategyMetaData

public CompletionStrategyMetaData(java.lang.String id,
                                  java.lang.String displayName,
                                  java.lang.String description,
                                  java.lang.String docUrl,
                                  java.lang.String author,
                                  java.lang.String implClass)
Constructs completion strategy meta-data.

Parameters:
id - The strategy's XPDL ID.
displayName - The display name.
description - Textual description of this strategy.
docUrl - URL for documentation.
author - Author's name.
implClass - The fully qualified name of the strategy implementation class.
Method Detail

createInstance

public java.lang.Object createInstance(org.xml.sax.EntityResolver entityResolver)
                                throws RepositoryException
Returns the class that implements the completion strategy.

Specified by:
createInstance in class AbstractMetaData
Parameters:
entityResolver -
Returns:
Strategy implementation.
Throws:
RepositoryException - if the class could not be found or instantiated.

toString

public java.lang.String toString()
Overrides:
toString in class AbstractMetaData


SourceForge.net Logo OBE-1.0 Copyright (c) 2002-2006 Adrian Price. All Rights Reserved.