org.wsmostudio.runtime
Class WSMORuntime
java.lang.Object
org.wsmostudio.runtime.WSMORuntime
public class WSMORuntime
- extends java.lang.Object
The WSMORuntime is a singleton class which represents the heart of the studio's
environment. It instanciates key support objects of the WSMO4J library: WSML parser,
WSML serializer, WSMO factory.
The runtime maintains a dynamic registry for the known WSMO entities and their physical
location in the workspace.
- Version:
- $Revision: 1392 $ $Date: 2007-12-05 16:47:13 +0200 $
- Author:
- not attributable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_WSML_PARSER_IMPL
public static final java.lang.String DEFAULT_WSML_PARSER_IMPL
- See Also:
- Constant Field Values
DEFAULT_WSML_SERIALIZER_IMPL
public static final java.lang.String DEFAULT_WSML_SERIALIZER_IMPL
- See Also:
- Constant Field Values
NFP_STUDIO
public static org.wsmo.common.IRI NFP_STUDIO
NS_STUDIO_LOCAL
public static java.lang.String NS_STUDIO_LOCAL
WSMORuntime
public WSMORuntime()
getRuntime
public static WSMORuntime getRuntime()
forceEarlyInit
public static void forceEarlyInit()
getWsmoFactory
public org.wsmo.factory.WsmoFactory getWsmoFactory()
getWsmlParser
public org.wsmo.wsml.Parser getWsmlParser()
getWsmlValidator
public org.wsmo.validator.WsmlValidator getWsmlValidator()
getWsmlSerializer
public org.wsmo.wsml.Serializer getWsmlSerializer()
getLogExprFactory
public org.wsmo.factory.LogicalExpressionFactory getLogExprFactory()
getDataFactory
public org.wsmo.factory.DataFactory getDataFactory()
initRuntime
public void initRuntime()
reinitWsmlValidator
public void reinitWsmlValidator()
registerEntity
public void registerEntity(org.wsmo.common.TopEntity entity,
org.eclipse.core.runtime.IPath filePath)
unregisterEntity
public void unregisterEntity(org.wsmo.common.TopEntity entity)
findRegisteredEntity
public org.wsmo.common.TopEntity findRegisteredEntity(org.eclipse.core.runtime.IPath srcFile)
- Searches for an opened for editing entity by its file source path
- Parameters:
srcFile -
- Returns:
- the corresponding registered entity or null if not registered
doUpdateEntity
public void doUpdateEntity(org.wsmo.common.TopEntity dirty)
throws java.lang.Exception
- Throws:
java.lang.Exception
getCache
public static WSMOCache getCache()
getIOManager
public static WorkspaceIOManager getIOManager()
Copyright © 2005-2008 Ontotext Lab.. All Rights Reserved.