|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectptolemy.moml.LibraryBuilder
public abstract class LibraryBuilder
An abstract class that defines the interface for LibraryBuilder. The main purpose of a library builder is to create a moml library from something other than a moml document. The first implementation of this class is going to be to create a library from a directory of ksw files.
| Red (berkley) |
| Red (berkley) |
| Field Summary | |
|---|---|
protected java.util.List |
_attributes
Attributes that can be added to a LibraryBuilder via moml configuration. |
| Constructor Summary | |
|---|---|
LibraryBuilder()
Construct a library builder. |
|
| Method Summary | |
|---|---|
void |
addAttributes(java.util.List attributeList)
Add a list of Attributes. |
abstract CompositeEntity |
buildLibrary(Workspace workspace)
Build the library. |
java.util.List |
getAttributes()
Get the list of Attributes associated with this LibraryBuilder. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.List _attributes
| Constructor Detail |
|---|
public LibraryBuilder()
| Method Detail |
|---|
public void addAttributes(java.util.List attributeList)
attributeList - The list of Attributes.public java.util.List getAttributes()
public abstract CompositeEntity buildLibrary(Workspace workspace)
throws java.lang.Exception
workspace - The workspace.
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||