|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.armax.ax.devtools.uml.mdr.AXmodelReaderMdr
Helper class to read XMI into MDR repository.
By default, the repository file will be "build/tmp/repository". You may change this by placing "mdr.properties" in the root of the classpath containing the repository file as value of the key "repository.file".
Method Summary | |
void |
dispose()
|
java.util.Collection |
getAbstractions()
|
java.util.Collection |
getAssociations()
|
java.util.Collection |
getDependencies()
|
java.util.Collection |
getGeneralizations()
|
static AXmodelReaderMdr |
getInstance(java.io.InputStream xmiStream)
Create an instance that reads an XMI from an intput stream. |
static AXmodelReaderMdr |
getInstance(java.lang.String xmiFile)
Create an instance that reads an XMI from a file. |
org.omg.uml.modelmanagement.Model |
getModelPackage()
|
java.util.Collection |
getPackages()
|
java.util.Collection |
getTaggedValues()
|
void |
init()
|
void |
readXmi()
Reads the XMI into the repository. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static AXmodelReaderMdr getInstance(java.lang.String xmiFile) throws AXmodelException
Create an instance that reads an XMI from a file.
xmiFile
-
AXmodelException
public static AXmodelReaderMdr getInstance(java.io.InputStream xmiStream) throws AXmodelException
Create an instance that reads an XMI from an intput stream.
xmiStream
-
AXmodelException
public void init() throws AXmodelException
AXmodelException
public void readXmi() throws java.io.FileNotFoundException, AXmodelException
Reads the XMI into the repository. The XMI is read from either an input stream or an URI.
java.io.FileNotFoundException
AXmodelException
public org.omg.uml.modelmanagement.Model getModelPackage()
public java.util.Collection getPackages()
public java.util.Collection getTaggedValues()
public java.util.Collection getAssociations()
public java.util.Collection getGeneralizations()
public java.util.Collection getDependencies()
public java.util.Collection getAbstractions()
public void dispose()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |