hu.soft4d.minerva.uml.xmi
Class XmiUmlModel
java.lang.Object
hu.soft4d.minerva.uml.xmi.XmiUmlModel
public class XmiUmlModel
- extends java.lang.Object
- Author:
- Zsolt Kiss Gere, 4D Soft Ltd.
Constructor Summary |
XmiUmlModel(java.lang.String xmiFileName)
|
Method Summary |
void |
display()
|
void |
dump(java.io.PrintStream out)
|
hu.soft4d.minerva.uml.xmi.XmiUmlStateMachine |
getUmlStateMachine(java.lang.String name)
node is a <type> element of form
The xmi:type of node must be "uml:PrimitiveType"
Return the type XmiNode, corresponding to node, defined in the
uml2 library specified by the href attribute. |
protected void |
parse()
Build the model |
void |
printClass(xmitools.xmiparser.XmiNode node)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmiUmlModel
public XmiUmlModel(java.lang.String xmiFileName)
throws java.lang.Exception
- Parameters:
xmiFileName
- Path of the XMI file which contains the model.
Currently tested for MagicDraw .uml2 files.
- Throws:
java.lang.Exception
dump
public void dump(java.io.PrintStream out)
parse
protected void parse()
throws java.lang.Exception
- Build the model
- Throws:
java.lang.Exception
display
public void display()
throws java.lang.Exception
- Throws:
java.lang.Exception
printClass
public void printClass(xmitools.xmiparser.XmiNode node)
throws java.lang.Exception
- Throws:
java.lang.Exception
getUmlStateMachine
public hu.soft4d.minerva.uml.xmi.XmiUmlStateMachine getUmlStateMachine(java.lang.String name)
- node is a <type> element of form
The xmi:type of node must be "uml:PrimitiveType"
Return the type XmiNode, corresponding to node, defined in the
uml2 library specified by the href attribute.