|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.edu.agh.cast.backward.resources.xml.XMLImporter
public class XMLImporter
Imports a project from XML file.
XMLExporter| Constructor Summary | |
|---|---|
XMLImporter()
Default constructor. |
|
XMLImporter(Class<?>[] classesWithAnnotations)
Constructor. |
|
| Method Summary | |
|---|---|
IDiagram |
importDiagram(File file)
Imports a diagram from specified file. |
IDiagramSettings |
importDiagramSettings(File file)
Imports diagram settings from specified file. |
IProjectContainer |
importProject(File file)
Imports project (list of IDiagram objects) from specified file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLImporter()
XMLImporter(null).
public XMLImporter(Class<?>[] classesWithAnnotations)
classesWithAnnotations - see XStreamInitializer.createXStreamInstance(Class[])| Method Detail |
|---|
public IProjectContainer importProject(File file)
throws IOException
IDiagram objects) from specified file.
importProject in interface IImporterfile - file the project is read from
IProjectContainer - embedded project
IOExceptionIImporter.importProject(java.io.File)
public IDiagramSettings importDiagramSettings(File file)
throws IOException
importDiagramSettings in interface IImporterfile - file to read diagram settings from
IOExceptionIImporter.importDiagramSettings(java.io.File)
public IDiagram importDiagram(File file)
throws IOException
importDiagram in interface IImporterfile - file to read diagram from
IOExceptionIImporter.importDiagram(java.io.File)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||