edu.bonn.xulu.plugin.io.grid.lateloading
Class WritableGridLLFactory

java.lang.Object
  extended by edu.bonn.xulu.io.AbstractFactory
      extended by edu.bonn.xulu.plugin.io.grid.WritableGridFactory
          extended by edu.bonn.xulu.plugin.io.grid.lateloading.WritableGridLLFactory
All Implemented Interfaces:
Factory, InstantiationFactory

public class WritableGridLLFactory
extends WritableGridFactory

Diese Factory erzeugt Standard-Instanzen des Datentyps WritableGridLLProxy.
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
WritableGridLLFactory()
           
 
Method Summary
 Class getInstanceType()
          Liefert den Datentyp, den die Factory erzeugt.
 WritableGridLLProxy 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

WritableGridLLFactory

public WritableGridLLFactory()
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 WritableGridLLProxy.class
See Also:
InstantiationFactory.newInstance(boolean)

newInstance

public WritableGridLLProxy 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 Longitute (Westliche/Linke Kante)
y - Georeferenz Latitude (Suedliche/Untere Kante)
width - Breite
height - Hoehe
crs - Referenzsystem fuer das Raster