org.argouml.uml
Class Profile

java.lang.Object
  extended byorg.argouml.uml.Profile
Direct Known Subclasses:
ProfileJava

public abstract class Profile
extends Object

This abstract class captures the configurable behavior of Argo.


Constructor Summary
Profile()
           
 
Method Summary
abstract  String formatCollection(Iterator iter, Object namespace)
          This method produces a string the represents the collection of model elements in the context of the specified namespace.
abstract  String formatElement(Object element, Object namespace)
          This method produces a string that represents the specific model element in the context of the specified namespace.
abstract  Object getProfileModel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Profile

public Profile()
Method Detail

formatElement

public abstract String formatElement(Object element,
                                     Object namespace)
This method produces a string that represents the specific model element in the context of the specified namespace.

Parameters:
element - element to represent.
namespace - context namespace (may be null).
Returns:
a string representing the model element

formatCollection

public abstract String formatCollection(Iterator iter,
                                        Object namespace)
This method produces a string the represents the collection of model elements in the context of the specified namespace.

Parameters:
iter - iterator over collection
namespace - context namespace (may be null).
Returns:
a string representing the collection

getProfileModel

public abstract Object getProfileModel()
Returns:
the UML Model that contains the profile model


ArgoUML © 1996-2004 (20050222)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook