|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.altair.hwm.toolkit.datamodel.HWMDataModelXMLImport
public class HWMDataModelXMLImport
Title: HWMDataModelXMLImport
Description: It imports the xml file format, which contains details of data model.
Company: Altair Engineering, Inc.
Field Summary | |
---|---|
java.io.File |
m_fileXML
XML file, which contains the data model information |
HWMModelInstance |
m_hwmModelInstance
The model instance |
Constructor Summary | |
---|---|
HWMDataModelXMLImport(HWMModelInstance hwmModelInstance,
com.jidesoft.grid.TreeTable treeTable,
java.io.File fileXMLData)
Constructor Method : HWMDataModelXMLImport |
Method Summary | |
---|---|
void |
ImportXMLFile()
Method : ImportXMLFile Main method, which is called to import the data model, which is in XML format |
void |
ReadImportedXMLFile(java.io.File fileXMLDMV)
Method : ReadImportedXMLFile Main method to read XML File. |
void |
ReadXMLControlProperties(com.altair.hwm.toolkit.datamodel.HWMCellEntry infoCellChildTaskBean,
org.jdom.Element elemTaskBean)
Method : ReadXMLControlProperties Method to read the properties of each control or bean Method identifies the element "ControlProperties" tag in XML file. |
void |
ReadXMLDataModelDetails(org.jdom.Element elemRoot)
Method : ReadXMLDataModelDetails Method reads the data model tag from xml file. |
void |
ReadXMLDataModelInfo(org.jdom.Element elemDataModel)
Method : ReadXMLDataModelInfo Method reads the details of data model from xml file. |
void |
ReadXMLPMTemplate(org.jdom.Element elemRoot)
Method : ReadXMLPMTemplate Method reads the Template Name in XML file This is also for the User's Information. |
void |
ReadXMLProductVersion(org.jdom.Element elemRoot)
Method : ReadXMLProductVersion Method reads the Version Tag in XML file This is just for the Information. |
void |
ReadXMLTaskControlInfo(com.altair.hwm.toolkit.datamodel.HWMCellEntry infoCellChildTask,
org.jdom.Element elemTaskDetails)
Method : ReadXMLTaskControlInfo Method reads the control / bean information of each task. |
void |
ReadXMLTaskDetails(org.jdom.Element elemTaskInfo)
Method : ReadXMLTaskDetails Method reads the details of all tasks. |
void |
ReadXMLTaskRelatedInfo(org.jdom.Element elemDataModelInfo)
Method : ReadXMLTaskRelatedInfo Method reads the task information in the XML file. |
void |
ReadXMLUserDataDetails(org.jdom.Element elemUserDataInfo)
Method : ReadXMLUserDataDetails Method reads the details of UserData. |
void |
ReadXMLUserRelatedDataInfo(org.jdom.Element elemDataModelInfo)
Method : ReadXMLUserRelatedDataInfo Method reads the userdata information in the XML file. |
void |
SavePropertiesInDataModel(com.altair.hwm.toolkit.datamodel.HWMCellEntry infoTaskBeanProp,
java.lang.String strBeanPropertyValue)
Method : SavePropertiesInDataModel Method to save the property value into data model and update the data model. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public HWMModelInstance m_hwmModelInstance
public java.io.File m_fileXML
Constructor Detail |
---|
public HWMDataModelXMLImport(HWMModelInstance hwmModelInstance, com.jidesoft.grid.TreeTable treeTable, java.io.File fileXMLData)
HWMModelInstance
- hwmModelInstance - The current model instanceTreeTable
- treeTable - Treetable of Data Model Viewer to which
all details would be dumpedMethod Detail |
---|
public void ImportXMLFile() throws java.lang.Exception
java.lang.Exception
public void ReadImportedXMLFile(java.io.File fileXMLDMV) throws java.io.FileNotFoundException, java.lang.Exception
fileXMLDMV
- - XML file to read
java.io.FileNotFoundException
java.lang.Exception
public void ReadXMLProductVersion(org.jdom.Element elemRoot)
Root
- XML Element : elemRootpublic void ReadXMLPMTemplate(org.jdom.Element elemRoot)
Root
- XML Element : elemRootpublic void ReadXMLDataModelDetails(org.jdom.Element elemRoot)
Root
- XML Element : elemRootpublic void ReadXMLDataModelInfo(org.jdom.Element elemDataModel)
XML
- Element : elemDataModel - Element next to rootpublic void ReadXMLTaskRelatedInfo(org.jdom.Element elemDataModelInfo)
XML
- Element : elemDataModelInfopublic void ReadXMLTaskDetails(org.jdom.Element elemTaskInfo)
XML
- Element : elemTaskInfopublic void ReadXMLTaskControlInfo(com.altair.hwm.toolkit.datamodel.HWMCellEntry infoCellChildTask, org.jdom.Element elemTaskDetails)
HWMCellEntry
- : infoCellChildTask - Treenode of treetable, which gives
the location of treetable and would provide the children
informationXML
- Element : elemTaskDetailspublic void ReadXMLControlProperties(com.altair.hwm.toolkit.datamodel.HWMCellEntry infoCellChildTaskBean, org.jdom.Element elemTaskBean)
HWMCellEntry
- : infoCellChildTaskBean - Treenode of treetable, which gives
the location of treetable and would provide the children
informationXML
- Element : elemTaskBeanpublic void ReadXMLUserRelatedDataInfo(org.jdom.Element elemDataModelInfo)
XML
- Element : elemDataModelInfopublic void ReadXMLUserDataDetails(org.jdom.Element elemUserDataInfo)
XML
- Element : elemTaskInfopublic void SavePropertiesInDataModel(com.altair.hwm.toolkit.datamodel.HWMCellEntry infoTaskBeanProp, java.lang.String strBeanPropertyValue)
HWMCellEntry
- : infoTaskBeanProp - Treenode of treetable, which gives
the location of treetable and would provide the necessary
informationString
- - strBeanPropertyValue - Property value of data, which is
be added to datamodel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |