pl.edu.agh.cast.data.template.xml
Class TemplateXmlExporter

java.lang.Object
  extended by pl.edu.agh.cast.data.template.xml.TemplateXmlExporter

public class TemplateXmlExporter
extends Object

Class responsible for the export process of specified templates to specified XML files.

Author:
AGH CAST Team

Constructor Summary
TemplateXmlExporter()
          Constructor.
TemplateXmlExporter(Class<?>[] classesWithAnnotations)
          The default constructor.
 
Method Summary
 void export(Template template, File file)
          Exports a given template to a given XML file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateXmlExporter

public TemplateXmlExporter(Class<?>[] classesWithAnnotations)
The default constructor.

Parameters:
classesWithAnnotations - the additional classes containing annotations

TemplateXmlExporter

public TemplateXmlExporter()
Constructor.

Method Detail

export

public void export(Template template,
                   File file)
            throws IOException
Exports a given template to a given XML file.

Parameters:
template - the template to export
file - the file where exported data will be saved
Throws:
IOException


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.