org.esa.beam.framework.dataio
Interface ProductWriterPlugIn

All Superinterfaces:
ProductIOPlugIn

public interface ProductWriterPlugIn
extends ProductIOPlugIn

The ProductWriterPlugIn interface is implemented by data product writer plug-ins.

XMLCoder plug-ins are used to provide meta-information about a particular data format and to create instances of the actual writer objects.

A plug-in can register itself in the ProductIO plug-in registry or it is automatically found during a classpath scan.

Version:
$Revision$ $Date$
Author:
Norman Fomferra
See Also:
ProductReaderPlugIn

Method Summary
 ProductWriter createWriterInstance()
          Creates an instance of the actual product writer class.
 Class[] getOutputTypes()
          Returns an array containing the classes that represent valid output types for this writer.
 
Methods inherited from interface org.esa.beam.framework.dataio.ProductIOPlugIn
getDefaultFileExtensions, getDescription, getFormatNames, getProductFileFilter
 

Method Detail

getOutputTypes

Class[] getOutputTypes()
Returns an array containing the classes that represent valid output types for this writer.

Intances of the classes returned in this array are valid objects for the setOutput method of the ProductWriter interface (the method will not throw an InvalidArgumentException in this case).

Returns:
an array containing valid output types, never null
See Also:
ProductWriter.writeProductNodes(org.esa.beam.framework.datamodel.Product, java.lang.Object)

createWriterInstance

ProductWriter createWriterInstance()
Creates an instance of the actual product writer class. This method should never return null.

Returns:
a new writer instance, never null


Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.