appl.parallel.data.xulugridfile.factories
Class XuluGridFactory

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

public class XuluGridFactory
extends WritableGridFactory

Creates instances of the memory saving data type XuluGridFile for the use in the Xulu Plattform.

Version:
1.0
Author:
Dominik Appl

Field Summary
 
Fields inherited from class edu.bonn.xulu.io.AbstractFactory
name
 
Constructor Summary
XuluGridFactory()
           
 
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)
          Creates a new grid under the directory given under
 
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

XuluGridFactory

public XuluGridFactory()
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 XuluWritableGridFile.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)
Creates a new grid under the directory given under

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