|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.vub.cocompose.CoCompose
Main CoCompose class for stand-alone use and settings registry.
Method Summary | |
void |
addSharedModel(Model model)
Adds a model to the set of shared models and increases the usage count. |
static CoCompose |
getDefault()
Gets the singleton CoCompose instance. |
ModelFactory |
getFactory()
Gets the model element factory |
Log |
getLog()
Returns the standard logger. |
String |
getSetting(String name)
Gets a global CoCompose setting |
Properties |
getSettings()
Gets the global CoCompose settings. |
Model |
getSharedModel(String uri)
Retrieves a shared model, given its URI. |
Collection |
getSharedModels()
Retrieves all shared models. |
static void |
main(String[] args)
Runs a stand-alone CoCompose. |
void |
removeSharedModel(Model model)
Removes a model from the set of shared models or decreases the usage count if greater than 0. |
void |
setSettings(Properties properties)
Sets the global CoCompose settings. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void main(String[] args)
args
- command-line argumentspublic static CoCompose getDefault()
public Log getLog()
public ModelFactory getFactory()
public String getSetting(String name)
name
- the setting name
public Properties getSettings()
public void setSettings(Properties properties)
properties
- the settings.public void addSharedModel(Model model)
model
- the model to add.public void removeSharedModel(Model model)
model
- the model to remove.public Model getSharedModel(String uri)
uri
- the URI that indicates the model location.
public Collection getSharedModels()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |