net.sf.exorcist.multi
Class MultiExporter

java.lang.Object
  extended by net.sf.exorcist.multi.MultiExporter
All Implemented Interfaces:
ContentExporter

public class MultiExporter
extends java.lang.Object
implements ContentExporter

Exporter plugin that combines the output of multiple exporters into a combined content state export.


Constructor Summary
MultiExporter()
           
 
Method Summary
 void exportContent(ContentState state)
          Runs each of the configured exporter components and combines their output into the given content state instance.
 void setExporters(java.util.List exporters)
          Sets the list of exporter components.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiExporter

public MultiExporter()
Method Detail

setExporters

public void setExporters(java.util.List exporters)
Sets the list of exporter components.

Parameters:
exporters - exporter components

exportContent

public void exportContent(ContentState state)
                   throws ContentException
Runs each of the configured exporter components and combines their output into the given content state instance.

Specified by:
exportContent in interface ContentExporter
Parameters:
state - content state
Throws:
ContentException - if some exporter component fails
See Also:
ContentExporter.exportContent(ContentState)


Copyright © 2005 The Exorcist Team @ SourceForge. All Rights Reserved.