|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.primordion.xholon.io.Xmi2Xholon
Transform XMI-formatted files into Xholon format. These files include: .zargo ArgoUML .mdxml MagicDraw .zuml Poseidon .uml Topcased .sysml Topcased SysML
| Nested Class Summary | |
class |
Xmi2Xholon.XhErrorListener
XSLT transformer error listener. |
| Field Summary |
| Constructor Summary | |
Xmi2Xholon()
constructor |
|
| Method Summary | |
boolean |
compile(java.lang.String className)
Compile a generated Java class. |
static void |
main(java.lang.String[] args)
Generate Java and/or XML files from a UML/SysML model. |
void |
setRootPath(java.lang.String rootPath)
Set the root path. |
void |
setRuntimeEnv(int runtimeEnv)
Set the runtime environment. |
void |
setShouldCompile(boolean shouldCompile)
Set whether the generated code should be compiled. |
void |
setXholonJarPath(java.lang.String xholonJarPath)
Set the Xholon jar path, for use by the compiler. |
void |
usage()
How to call this class directly from the command line. |
boolean |
xmi2xh(java.lang.String toolName,
int transformType,
java.lang.String xmiFileName,
java.lang.String rootXholon)
Transform the model, and optionally compile the generated Java classes. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Xmi2Xholon()
| Method Detail |
public void setRuntimeEnv(int runtimeEnv)
IXmi2Xholon
setRuntimeEnv in interface IXmi2XholonruntimeEnv - Whether this is a standard Java app, or an Eclipse plugin.public void setRootPath(java.lang.String rootPath)
IXmi2Xholon
setRootPath in interface IXmi2XholonrootPath - An absolute or relative root, from which transform config src bin derive.public void setShouldCompile(boolean shouldCompile)
IXmi2Xholon
setShouldCompile in interface IXmi2XholonshouldCompile - true or falsepublic void setXholonJarPath(java.lang.String xholonJarPath)
IXmi2Xholon
setXholonJarPath in interface IXmi2XholonxholonJarPath - public boolean compile(java.lang.String className)
IXmi2Xholon
compile in interface IXmi2XholonclassName - Name of the class to compile.
public boolean xmi2xh(java.lang.String toolName,
int transformType,
java.lang.String xmiFileName,
java.lang.String rootXholon)
IXmi2Xholon
xmi2xh in interface IXmi2XholontoolName - The name of the modeling tool (ex: Topcased MagicDraw Poseidon ArgoUML TopcasedSysML).transformType - One of ih|ce|cs|cd|jx|ja|jg|in|xhn|all|cnxmiFileName - The name of the input XMI-formatted file (ex: HelloWorldTutorial.uml).rootXholon - The root of the composite structure hierarchy, or null.public void usage()
public static void main(java.lang.String[] args)
args - transformType xmiFileName
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||