com.togethersoft.sca.core
Class Factory

java.lang.Object
  |
  +--com.togethersoft.sca.core.Factory

public class Factory
extends java.lang.Object

The abstract factory is used to instantiate the framework objects (such as StaticAnalyzer).

This class cannot be instantiated or subclassed by clients; all functionality is provided by the static methods.


Constructor Summary
Factory()
           
 
Method Summary
static com.togethersoft.sca.internal.core.ClientSourceBase createLocalSourceBase()
          Creates the default source base in which source files are stored in the local file system.
static IProject createProject()
          Creates an empty Java project with the default settings.
static AstObjectFactory getObjectFactory()
          Get factory for AST objects
static IStaticAnalyzer getStaticAnalyzer()
          Provides access to the shared static analyzer object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Factory

public Factory()
Method Detail

createLocalSourceBase

public static final com.togethersoft.sca.internal.core.ClientSourceBase createLocalSourceBase()
Creates the default source base in which source files are stored in the local file system.
Returns:
the local source base.

createProject

public static final IProject createProject()
Creates an empty Java project with the default settings.
Returns:
an empty Java project.

getObjectFactory

public static final AstObjectFactory getObjectFactory()
Get factory for AST objects

getStaticAnalyzer

public static IStaticAnalyzer getStaticAnalyzer()
Provides access to the shared static analyzer object. Clients must use this method to get access to the Sapient framework.
Returns:
the platform object.