org.jdesktop.wonderland.client.content.spi
Interface ContentExporterSPI


public interface ContentExporterSPI

Author:
JagWire

Method Summary
 void exportCells(Cell[] cells, CellTransform origin)
          Exports a cell.
 java.lang.Class[] getCellClasses()
          Returns a list of cell classes with which to apply this exporter to.
 

Method Detail

getCellClasses

java.lang.Class[] getCellClasses()
Returns a list of cell classes with which to apply this exporter to.

Returns:
an array of cell classes. Cell.class for all cells, or subclasses thereof for specific cases.

exportCells

void exportCells(Cell[] cells,
                 CellTransform origin)
Exports a cell. The class implementing this interface gets to decide what 'export' means.

Parameters:
cells - the cells to export
origin - the location to export from. Cells will be captured with offsets relative to the given position.


Open Wonderland - http://openwonderland.org