|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uml2re.GvDiagram
This class is able to load a UML2 diagram from an XMI file and generate the corresponding diagrams in Graphviz format. The XMI must be 2.0 and conforming to what the Eclipse UML2 tool generates.
Constructor Summary | |
GvDiagram(java.lang.String fileName)
Constructor from an XMI file. |
Method Summary | |
void |
generateClassDiagram(java.lang.String dotFileName)
Generates a class diagram containing all the classes of the model. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GvDiagram(java.lang.String fileName) throws java.io.IOException
fileName
- path of the XMI file containing the model
java.io.IOException
- if anything goes wring with the fileMethod Detail |
public void generateClassDiagram(java.lang.String dotFileName) throws java.io.FileNotFoundException
dotFileName
- the path of the file that will contain the diagram (.dot)
java.io.FileNotFoundException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |