com.bbn.swede.core
Interface IOWLProject

All Superinterfaces:
IOWLElement
All Known Implementing Classes:
OWLProject

public interface IOWLProject
extends IOWLElement

Protocol specific to OWL project elements.

Author:
jlerner, tself

Method Summary
 IContainer getContainer()
          Returns the Eclipse project resource that is the basis for this OWL project, cast as an IContainer.
 IOWLDocument getDocument(String sURI)
          Searches the project for a document with a specific base URI.
 IProject getProject()
          Returns the Eclipse project resource that is the basis for this OWL project.
 
Methods inherited from interface com.bbn.swede.core.IOWLElement
accept, contains, getCorrespondingElement, getCorrespondingResource, getElementInfo, getElementName, getLocalURI, getParent, getPath, getResource, getURI, isReadOnly, setParent
 

Method Detail

getProject

public IProject getProject()
Returns the Eclipse project resource that is the basis for this OWL project.

Returns:
The project's inner IProject.

getContainer

public IContainer getContainer()

Returns the Eclipse project resource that is the basis for this OWL project, cast as an IContainer.

This is a convenience method, fully equivalent to:

(IContainer)getProject()

Returns:
The project's inner IProject, cast as an IContainer.

getDocument

public IOWLDocument getDocument(String sURI)
Searches the project for a document with a specific base URI.

Parameters:
sURI - URI of the document to locate
Returns:
An IOWLDocument matching the specified URI, or null if the project does not contain the requested document.


Copyright © 2004-2005 BBN Technologies. All Rights Reserved.