org.obe.client.api.repository
Class PythonScriptMetaData

java.lang.Object
  extended byorg.obe.client.api.repository.AbstractMetaData
      extended byorg.obe.client.api.repository.ToolAgentMetaData
          extended byorg.obe.client.api.repository.ScriptMetaData
              extended byorg.obe.client.api.repository.PythonScriptMetaData
All Implemented Interfaces:
java.io.Serializable

public final class PythonScriptMetaData
extends ScriptMetaData

Author:
Adrian Price
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.obe.client.api.repository.ScriptMetaData
_file, _script
 
Fields inherited from class org.obe.client.api.repository.ToolAgentMetaData
_formalParameters
 
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
PythonScriptMetaData()
           
PythonScriptMetaData(java.lang.String id, java.lang.String displayName, java.lang.String description, java.lang.String docUrl, java.lang.String author, java.lang.String script, boolean file)
           
 
Method Summary
protected  java.lang.String getImplClass()
           
protected  java.lang.String[] getImplCtorSig()
           
 ToolAgentMetaData introspect(ExternalReference extRef, org.xml.sax.EntityResolver entityResolver)
          Introspects a reference to an externally defined tool or service.
 
Methods inherited from class org.obe.client.api.repository.ScriptMetaData
getFile, getScript, isFile, setFile, setScript
 
Methods inherited from class org.obe.client.api.repository.ToolAgentMetaData
createInstance, createInstance, getFormalParameter, init, setFormalParameter, toString
 
Methods inherited from class org.obe.client.api.repository.AbstractMetaData
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

PythonScriptMetaData

public PythonScriptMetaData()

PythonScriptMetaData

public PythonScriptMetaData(java.lang.String id,
                            java.lang.String displayName,
                            java.lang.String description,
                            java.lang.String docUrl,
                            java.lang.String author,
                            java.lang.String script,
                            boolean file)
Method Detail

introspect

public ToolAgentMetaData introspect(ExternalReference extRef,
                                    org.xml.sax.EntityResolver entityResolver)
Description copied from class: ToolAgentMetaData
Introspects a reference to an externally defined tool or service. If the associated tool agent type can handle the reference, the method returns the meta-data required to instantiate such a tool agent.

Specified by:
introspect in class ToolAgentMetaData
Parameters:
extRef - The external tool reference.
entityResolver -
Returns:
Configured tool meta-data, or null if this tool type cannot handle this reference.

getImplClass

protected java.lang.String getImplClass()
Specified by:
getImplClass in class AbstractMetaData

getImplCtorSig

protected java.lang.String[] getImplCtorSig()
Specified by:
getImplCtorSig in class AbstractMetaData


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