|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.edu.agh.cast.resources.xml.XMLExporter
public class XMLExporter
Exports project to XML file.
| Constructor Summary | |
|---|---|
XMLExporter()
|
|
XMLExporter(java.lang.Class<?>[] classesWithAnnotations)
|
|
| Method Summary | |
|---|---|
void |
export(IDiagram diagram,
java.io.File file)
Exports a single IDiagram to external format and saves the output to specified file |
void |
export(java.lang.String projectName,
java.util.List<IDiagram> diagrams,
java.io.File file)
Exports list of IDiagram objects to external format and saves the output to specified file |
void |
updateXStreamAnnotataions(java.lang.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()
public XMLExporter(java.lang.Class<?>[] classesWithAnnotations)
| Method Detail |
|---|
public void export(java.lang.String projectName,
java.util.List<IDiagram> diagrams,
java.io.File file)
throws java.io.IOException
IExporter
export in interface IExporterprojectName - - project namediagrams - - list of IDiagram object to be exportedfile - - file where exported data will be saved
java.io.IOException
public void export(IDiagram diagram,
java.io.File file)
throws java.io.IOException
IExporter
export in interface IExporterdiagram - diagram to exportfile - file to save data to
java.io.IOExceptionpublic void updateXStreamAnnotataions(java.lang.Class<?> clazz)
clazz -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||