|
||||||||||
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 IExporter
projectName
- project namediagrams
- list of IDiagram object to be exportedfile
- file where exported data will be saved
IOException
IExporter.export(java.lang.String, java.util.List, java.io.File)
public void export(IDiagram diagram, File file) throws IOException
export
in interface IExporter
diagram
- diagram to exportfile
- file to save data to
IOException
IExporter.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 |