Class LqnXmlHandler
- java.lang.Object
-
- org.palladiosimulator.solver.transformations.pcm2lqn.LqnXmlHandler
-
public class LqnXmlHandler extends Object
-
-
Constructor Summary
Constructors Constructor Description LqnXmlHandler(LqnModelType anLqnModel)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EObject
createInitialModel()
copied from org.palladiosimulator.solver.lqn.presentation.LqnModelWizardstatic void
fixXMLFile(String filename)
Fix encoding line (fix proposed by Greg Franks for LINE solver, not clear whether still needed).static LqnModelType
loadModelFromXMI(String fileName)
Restores the corresponding Ecore model, previously serialized viasaveModelToXMI(String)
.void
saveModelToXMI(String fileName)
-
-
-
Constructor Detail
-
LqnXmlHandler
public LqnXmlHandler(LqnModelType anLqnModel)
-
-
Method Detail
-
createInitialModel
protected EObject createInitialModel()
copied from org.palladiosimulator.solver.lqn.presentation.LqnModelWizard
-
saveModelToXMI
public void saveModelToXMI(String fileName)
-
loadModelFromXMI
public static LqnModelType loadModelFromXMI(String fileName)
Restores the corresponding Ecore model, previously serialized viasaveModelToXMI(String)
.- Parameters:
fileName
-- Returns:
- A representation of the model object 'LQN Model Type'; null if the file don't exists or when there were problems reading the file.
-
fixXMLFile
public static void fixXMLFile(String filename)
Fix encoding line (fix proposed by Greg Franks for LINE solver, not clear whether still needed).- Parameters:
filename
-
-
-