|
||||||||||
| 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.XMLExporter
public class XMLExporter
Exports project to XML file.
| Constructor Summary | |
|---|---|
XMLExporter()
Default constructor. |
|
XMLExporter(Class<?>[] classesWithAnnotations)
Constructor. |
|
| Method Summary | |
|---|---|
void |
export(IDiagram diagram,
File file)
Exports a single IDiagram to external format and saves the output to specified file. |
void |
export(String projectName,
List<IDiagram> diagrams,
File file)
Exports list of IDiagram objects to external format and saves the output to specified file. |
void |
updateXStreamAnnotataions(Class<?> clazz)
Reads additional XStream annotations from specified class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLExporter()
XMLExporter(null).
public XMLExporter(Class<?>[] classesWithAnnotations)
classesWithAnnotations - see XStreamInitializer.createXStreamInstance(Class[])| Method Detail |
|---|
public void export(String projectName,
List<IDiagram> diagrams,
File file)
throws IOException
export in interface IExporterprojectName - project namediagrams - list of IDiagram object to be exportedfile - file where exported data will be saved
IOExceptionIExporter.export(java.lang.String, java.util.List, java.io.File)
public void export(IDiagram diagram,
File file)
throws IOException
export in interface IExporterdiagram - diagram to exportfile - file to save data to
IOExceptionIExporter.export(pl.edu.agh.cast.model.visual.backward.IDiagram, java.io.File)public void updateXStreamAnnotataions(Class<?> clazz)
clazz - class to read additional annotations from
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||