eu.etaxonomy.cdm.print.out.xml
Class XMLOutputModule

java.lang.Object
  extended by eu.etaxonomy.cdm.print.out.PublishOutputModuleBase
      extended by eu.etaxonomy.cdm.print.out.xml.XMLOutputModule
All Implemented Interfaces:
IPublishOutputModule

public class XMLOutputModule
extends PublishOutputModuleBase

Simple output module that writes the harvested xml data to disk without further processing.

Version:
1.0
Author:
n.hoffmann

Field Summary
 
Fields inherited from class eu.etaxonomy.cdm.print.out.PublishOutputModuleBase
DATE_FORMAT_NOW
 
Constructor Summary
XMLOutputModule()
           
 
Method Summary
 String getOutputFileSuffix()
          Returns the file suffix that should be used for the generated output.
 void output(org.jdom.Document document, File exportFolder, IProgressMonitor progressMonitor)
          The given Document will be transformed into the output format defined by the implementing class.
 
Methods inherited from class eu.etaxonomy.cdm.print.out.PublishOutputModuleBase
generateFilenameWithDate, getDefaultXsltInputStream, getFilePath, getStylesheets, getStylesheetsByLocation, getXslt, getXsltInputStream, setXslt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLOutputModule

public XMLOutputModule()
Method Detail

output

public void output(org.jdom.Document document,
                   File exportFolder,
                   IProgressMonitor progressMonitor)
Description copied from interface: IPublishOutputModule
The given Document will be transformed into the output format defined by the implementing class. The generated output file will be written to the given targetFolder.

Specified by:
output in interface IPublishOutputModule
Overrides:
output in class PublishOutputModuleBase
Parameters:
document - The Document that will be used as input for this modules publish process.
exportFolder - The folder, the generated output should be written to.

getOutputFileSuffix

public String getOutputFileSuffix()
Description copied from interface: IPublishOutputModule
Returns the file suffix that should be used for the generated output.

Returns:
the file suffix


Copyright © 2007-2013 EDIT. All Rights Reserved.