biouml.plugins.sbw
Class SbwHost
java.lang.Object
biouml.plugins.sbw.SbwHost
- public class SbwHost
- extends java.lang.Object
JavaScript host object that provides access to SBW services from JavaScript.
|
Field Summary |
protected com.beanexplorer.web.HtmlBeanGenerator |
infoGenerator
|
protected static org.apache.log4j.Category |
log
|
|
Method Summary |
protected DataElement |
find(java.lang.String path)
|
java.lang.Object |
getService(java.lang.String path)
Returns JavaScript proxy for the specified SBW service. |
java.lang.String |
help(java.lang.String path)
Returns description about the specified SBW module, service or service method. |
java.lang.String |
list(java.lang.String path)
List all subelements for the specified SBW module, service or category. |
SbwHost.SbmlModel |
loadModel(java.lang.String moduleName,
java.lang.String modelName)
Loads SBML diagram (model) from file or repository. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.apache.log4j.Category log
infoGenerator
protected com.beanexplorer.web.HtmlBeanGenerator infoGenerator
SbwHost
public SbwHost()
help
public java.lang.String help(java.lang.String path)
- Returns description about the specified SBW module, service or service method.
- Parameters:
path - - path to SBW element relative SbwVisiblePlugin.
list
public java.lang.String list(java.lang.String path)
- List all subelements for the specified SBW module, service or category.
- Parameters:
path - - path to SBW element relative SbwVisiblePlugin.
loadModel
public SbwHost.SbmlModel loadModel(java.lang.String moduleName,
java.lang.String modelName)
throws java.lang.Exception
- Loads SBML diagram (model) from file or repository.
- Parameters:
moduleName - - the repository module name.
Use file to specify that model should be loaded from file.modelName - - model name in the module or model file name.
- Throws:
java.lang.Exception
getService
public java.lang.Object getService(java.lang.String path)
throws java.lang.Exception
- Returns JavaScript proxy for the specified SBW service.
- Parameters:
path - - path to SBW service relative SbwVisiblePlugin.
- Throws:
java.lang.Exception
find
protected DataElement find(java.lang.String path)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2001-2003 Biosof.Ru. All Rights Reserved.