org.wsmostudio.runtime
Class WorkspaceLocator

java.lang.Object
  extended by org.wsmostudio.runtime.WorkspaceLocator
All Implemented Interfaces:
org.wsmo.locator.Locator

public class WorkspaceLocator
extends java.lang.Object
implements org.wsmo.locator.Locator


Field Summary
static byte ALWAYS_LOAD_IMPORTS
           
static byte NEVER_LOAD_IMPORTS
           
static byte PROMPT_FOR_LOADING_IMPORTS
           
 
Fields inherited from interface org.wsmo.locator.Locator
URI_MAPPING
 
Constructor Summary
WorkspaceLocator()
           
 
Method Summary
 java.util.Set<org.wsmo.common.Entity> lookup(org.wsmo.common.Identifier id)
           
 org.wsmo.common.Entity lookup(org.wsmo.common.Identifier id, java.lang.Class clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROMPT_FOR_LOADING_IMPORTS

public static final byte PROMPT_FOR_LOADING_IMPORTS
See Also:
Constant Field Values

ALWAYS_LOAD_IMPORTS

public static final byte ALWAYS_LOAD_IMPORTS
See Also:
Constant Field Values

NEVER_LOAD_IMPORTS

public static final byte NEVER_LOAD_IMPORTS
See Also:
Constant Field Values
Constructor Detail

WorkspaceLocator

public WorkspaceLocator()
Method Detail

lookup

public java.util.Set<org.wsmo.common.Entity> lookup(org.wsmo.common.Identifier id)
                                             throws org.wsmo.common.exception.SynchronisationException
Specified by:
lookup in interface org.wsmo.locator.Locator
Throws:
org.wsmo.common.exception.SynchronisationException

lookup

public org.wsmo.common.Entity lookup(org.wsmo.common.Identifier id,
                                     java.lang.Class clazz)
                              throws org.wsmo.common.exception.SynchronisationException
Specified by:
lookup in interface org.wsmo.locator.Locator
Throws:
org.wsmo.common.exception.SynchronisationException


Copyright © 2005-2008 Ontotext Lab.. All Rights Reserved.