net.sf.quarrel.uml
Class ModelBuilder2

java.lang.Object
  extended bynet.sf.quarrel.uml.ModelBuilder2
All Implemented Interfaces:
ModelBuilder

public final class ModelBuilder2
extends java.lang.Object
implements ModelBuilder


Constructor Summary
ModelBuilder2()
           
 
Method Summary
 void add(FileElement element)
          Add an object parsed from the InputStream to the ModelBuilder. A new object will be added to underlying model to represent this object.
 Model getModel()
          Returns the assempbled model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelBuilder2

public ModelBuilder2()
Method Detail

getModel

public Model getModel()
Description copied from interface: ModelBuilder
Returns the assempbled model.

Specified by:
getModel in interface ModelBuilder
Returns:
the Model object populated using the data provided using the method().
See Also:
ModelBuilder.add(net.sf.quarrel.file.FileElement)

add

public void add(FileElement element)
Add an object parsed from the InputStream to the ModelBuilder. A new object will be added to underlying model to represent this object.

Specified by:
add in interface ModelBuilder
Parameters:
element - the object to be added to the model.


Copyright © 2006-2007. All Rights Reserved.