appl.parallel.data.splittable
Class SplittableGridLLFactory

java.lang.Object
  extended by edu.bonn.xulu.io.AbstractFactory
      extended by edu.bonn.xulu.plugin.io.grid.WritableGridFactory
          extended by appl.parallel.data.splittable.SplittableGridLLFactory
All Implemented Interfaces:
Factory, InstantiationFactory

public class SplittableGridLLFactory
extends WritableGridFactory

Diese Factory erzeugt Standard-Instanzen des Datentyps SplittableLLProxyGrid.
Bemerke:
Dieser stellt kein Xulu-Objekt dar, kann also nicht direkt im Xulu-Datenpool gespeichert werden. Hierzu ist der Datentyp SingleGrid (bzw. eine entsprechende Factory) zu verwenden!

Version:
1.0
Author:
Dominik Appl, Martin Schmitz (University of Bonn/Germany)

Field Summary
 
Fields inherited from class edu.bonn.xulu.io.AbstractFactory
name
 
Constructor Summary
SplittableGridLLFactory()
           
 
Method Summary
 Class getInstanceType()
          Liefert den Datentyp, den die Factory erzeugt.
 SplittableLLProxyGrid newInstance(int type, int widthc, int heightc, int minX, int minY, double x, double y, double width, double height, CoordinateReferenceSystem crs)
          Erzeugt ein neues Grid.
 
Methods inherited from class edu.bonn.xulu.plugin.io.grid.WritableGridFactory
newInstance, newInstance, newInstance
 
Methods inherited from class edu.bonn.xulu.io.AbstractFactory
checkExportDestinationObject, checkImportSourceObject, equals, equals, getInstantiationFactoryFromRegistry, getName, setName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.bonn.xulu.io.Factory
equals
 

Constructor Detail

SplittableGridLLFactory

public SplittableGridLLFactory()
Method Detail

getInstanceType

public Class getInstanceType()
Liefert den Datentyp, den die Factory erzeugt.

Specified by:
getInstanceType in interface InstantiationFactory
Overrides:
getInstanceType in class WritableGridFactory
Returns:
immer SplittableLLProxyGrid.class
See Also:
InstantiationFactory.newInstance(boolean)

newInstance

public SplittableLLProxyGrid newInstance(int type,
                                         int widthc,
                                         int heightc,
                                         int minX,
                                         int minY,
                                         double x,
                                         double y,
                                         double width,
                                         double height,
                                         CoordinateReferenceSystem crs)
Erzeugt ein neues Grid.

Specified by:
newInstance in class WritableGridFactory
Parameters:
type - Datentyp der gespeicherten Objekte
widthc - Breite in Zellen
heightc - Hoehe in Zellen
minX - Index der ersten Zelle in X-Richtung
minY - Index der ersten Zelle in Y-Richtung
x - Georeferenz Latitude (Suedliche/Untere Kante)
y - Georeferenz Longitute (Westliche/Linke Kante)
width - Breite
height - Hoehe
crs - Referenzsystem fuer das Raster