|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biomage.tools.generate_classes.CreateMageDTDClasses
public class CreateMageDTDClasses
Field Summary | |
---|---|
protected java.lang.String[] |
args
Description: The command line arguments. |
protected org.w3c.dom.Document |
cfgInfo
|
protected static java.lang.String |
DEFAULT_PATH
Description: The default namespace. |
Constructor Summary | |
---|---|
CreateMageDTDClasses(java.lang.String[] args)
Description: Constructor for the CreateMageDTDClasses object. |
Method Summary | |
---|---|
void |
dispose()
|
java.lang.String |
getArgumentToken(java.lang.String[] args,
java.lang.String token)
Description: Common code to obtain the argument associated with the option from the command line. |
org.w3c.dom.Document |
getDOMFromFile(java.lang.String xmlFile)
Description: Reads the file and creates the DOM structure. |
static java.lang.String |
getName()
|
org.w3c.dom.Element |
getPackageNodeFromCfg()
Description: Reads the file and creates the DOM structure and gets the XMI element. |
static java.lang.String |
getVersion()
|
org.w3c.dom.Element |
getXMINodeFromFile(java.lang.String xmlFile)
Description: Reads the file and creates the DOM structure and gets the XMI element. |
protected org.w3c.dom.Element |
initialize()
Description: Obtains the top node of the document. |
static void |
main(java.lang.String[] args)
Description: The main entry point for the XMLLoaderTestServer. |
void |
writeDocFile(java.util.Vector classes)
Description: Writes the documentation out to the specified file.. |
void |
writeDTDFile(java.util.Vector classes)
Description: Writes the header to the DTD header then creates a WriteDTDFile to write the rest of the file. |
void |
writePlatform(java.util.Vector classes)
Description: Picks the specified platform and calls the class that creates that platform. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String[] args
protected org.w3c.dom.Document cfgInfo
protected static final java.lang.String DEFAULT_PATH
Constructor Detail |
---|
public CreateMageDTDClasses(java.lang.String[] args) throws java.lang.Exception
- Throws:
java.lang.Exception
-
Method Detail |
---|
protected org.w3c.dom.Element initialize() throws java.lang.Exception
args:
- list of command line arguments.
java.lang.Exception
public org.w3c.dom.Element getXMINodeFromFile(java.lang.String xmlFile) throws java.lang.Exception
xmiFile:
- the file to parse
java.lang.Exception
public org.w3c.dom.Document getDOMFromFile(java.lang.String xmlFile) throws java.lang.Exception
xmiFile:
- the file to parse
java.lang.Exception
public org.w3c.dom.Element getPackageNodeFromCfg() throws java.lang.Exception
xmiFile:
- the file to parse
java.lang.Exception
public void writeDTDFile(java.util.Vector classes) throws java.lang.Exception
clases:
- vector of CreateClassFiles, one per model object.
java.lang.Exception
public void writeDocFile(java.util.Vector classes) throws java.lang.Exception
clases:
- vector of CreateClassFiles, one per model object.
java.lang.Exception
public void writePlatform(java.util.Vector classes) throws java.lang.Exception
clases:
- vector of CreateClassFiles, one per model object.
java.lang.Exception
public static java.lang.String getName()
public static java.lang.String getVersion()
public void dispose()
public java.lang.String getArgumentToken(java.lang.String[] args, java.lang.String token) throws java.lang.Exception
args
- the command line.token
- option whose argument is desired.
java.lang.Exception
public static void main(java.lang.String[] args)
String[]
- args ( INPUT )
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |