de.armax.ax.devtools.uml
Class AXmodelFactory
java.lang.Object
de.armax.ax.devtools.uml.AXmodelFactory
- public class AXmodelFactory
- extends java.lang.Object
Factory for AXmodel.
Use this factory to get an implementation of AXmodel.
The factory looks for a system property "de.armax.ax.devtools.modelclass"
that must contain the qualified name of the model class (an implementation of
AXmodel
). If no such property is set, the model
class can be set via the setModelClass(Class)
method. By default the
MDR implementation AXmodelMdrImpl
is used.
- Author:
- Peter Wieland, ARMAX mindware GmbH
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static AXmodelFactory getInstance()
getModel
public AXmodel getModel(java.io.InputStream stream)
throws AXmodelException,
java.io.IOException
- Throws:
AXmodelException
java.io.IOException
getModel
public AXmodel getModel(java.lang.String filename)
throws AXmodelException,
java.io.IOException
- Throws:
AXmodelException
java.io.IOException
setModelClass
public void setModelClass(java.lang.Class modelClass)
getModelClassName
public java.lang.String getModelClassName()
Copyright © 2003 ARMAX mindware GmbH. All Rights Reserved.