org.deegree.protocol.wps
Class VectorExampleData

java.lang.Object
  extended by org.deegree.protocol.wps.VectorExampleData
All Implemented Interfaces:
ExampleData

public class VectorExampleData
extends Object
implements ExampleData

This class wraps all geometric test data as static attributes.
A instance of this class presents one data set of test data.

Version:
$Revision: $, $Date: $
Author:
Jens Pabel, last edited by: $Author: pabel $

Nested Class Summary
static class VectorExampleData.GeometryType
          This enumeration class contains all important geometry types like point, line, polygon, etc. for testing a SEXTANTE GeoAlgorithm.
 
Field Summary
static VectorExampleData GML_31_FEATURE_COLLECTION_LINESTRINGS
           
static VectorExampleData GML_31_FEATURE_COLLECTION_MULTILINESTRINGS
           
static VectorExampleData GML_31_FEATURE_COLLECTION_MULTIPOINTS
           
static VectorExampleData GML_31_FEATURE_COLLECTION_MULTIPOLYGONS
           
static VectorExampleData GML_31_FEATURE_COLLECTION_POINTS
           
static VectorExampleData GML_31_FEATURE_COLLECTION_POLYGONS
           
static VectorExampleData GML_31_FEATURE_COLLECTION_WFS
           
static VectorExampleData GML_31_LINESTRING
           
static VectorExampleData GML_31_MULTILINESTRING
           
static VectorExampleData GML_31_MULTILPOLYGON
           
static VectorExampleData GML_31_MULTIPOINT
           
static VectorExampleData GML_31_POINT
           
static VectorExampleData GML_31_POLYGON
           
static VectorExampleData GML_31_POLYGON_2
           
 
Method Summary
static LinkedList<VectorExampleData> getAllData()
          Returns all VectorExampleData.
static LinkedList<VectorExampleData> getAllData(VectorExampleData[] without)
          Returns list of all VectorExampleData without the VectorExampleData of the array.
static LinkedList<VectorExampleData> getAllFeatureCollections()
          Returns list of all VectorExampleData with FeatureCollections.
static LinkedList<VectorExampleData> getAllGeometries()
          Returnslist of all VectorExampleData with Geometrys.
static LinkedList<VectorExampleData> getData(VectorExampleData.GeometryType type)
          Returns list of all VectorExampleData with the same VectorExampleData.GeometryType.
static LinkedList<VectorExampleData> getData(VectorExampleData.GeometryType type, VectorExampleData[] without)
          Returns list of all VectorExampleData with the same VectorExampleData.GeometryType and without some VectorExampleData.
 String getEncoding()
          Returns the encoding of the data.
 String getFilename()
          Returns the filename of the data.
 GMLVersion getGMLVersion()
          Returns the GMLVersion of the data.
 String getMimeType()
          Returns the mime type of the data.
 String getSchemaURL()
          Returns the schema URL of the data.
 URL getURL()
          Returns the URL of the data file.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

GML_31_MULTILPOLYGON

public static final VectorExampleData GML_31_MULTILPOLYGON

GML_31_MULTILINESTRING

public static final VectorExampleData GML_31_MULTILINESTRING

GML_31_MULTIPOINT

public static final VectorExampleData GML_31_MULTIPOINT

GML_31_POLYGON

public static final VectorExampleData GML_31_POLYGON

GML_31_POLYGON_2

public static final VectorExampleData GML_31_POLYGON_2

GML_31_LINESTRING

public static final VectorExampleData GML_31_LINESTRING

GML_31_POINT

public static final VectorExampleData GML_31_POINT

GML_31_FEATURE_COLLECTION_MULTIPOLYGONS

public static final VectorExampleData GML_31_FEATURE_COLLECTION_MULTIPOLYGONS

GML_31_FEATURE_COLLECTION_POLYGONS

public static final VectorExampleData GML_31_FEATURE_COLLECTION_POLYGONS

GML_31_FEATURE_COLLECTION_MULTILINESTRINGS

public static final VectorExampleData GML_31_FEATURE_COLLECTION_MULTILINESTRINGS

GML_31_FEATURE_COLLECTION_LINESTRINGS

public static final VectorExampleData GML_31_FEATURE_COLLECTION_LINESTRINGS

GML_31_FEATURE_COLLECTION_MULTIPOINTS

public static final VectorExampleData GML_31_FEATURE_COLLECTION_MULTIPOINTS

GML_31_FEATURE_COLLECTION_POINTS

public static final VectorExampleData GML_31_FEATURE_COLLECTION_POINTS

GML_31_FEATURE_COLLECTION_WFS

public static final VectorExampleData GML_31_FEATURE_COLLECTION_WFS
Method Detail

getAllData

public static LinkedList<VectorExampleData> getAllData()
Returns all VectorExampleData.

Returns:
List of all VectorExampleData.

getAllData

public static LinkedList<VectorExampleData> getAllData(VectorExampleData[] without)
Returns list of all VectorExampleData without the VectorExampleData of the array.

Parameters:
without - Array of unwanted VectorExampleData, may be null.
Returns:
List of all VectorExampleData without the VectorExampleData of the array. If the array of unwanted VectorExampleData is null, returns all {@link VectorExampleData}.

getAllFeatureCollections

public static LinkedList<VectorExampleData> getAllFeatureCollections()
Returns list of all VectorExampleData with FeatureCollections.

Returns:
List of VectorExampleData with FeatureCollections.

getAllGeometries

public static LinkedList<VectorExampleData> getAllGeometries()
Returnslist of all VectorExampleData with Geometrys.

Returns:
List of VectorExampleData with Geometrys.

getData

public static LinkedList<VectorExampleData> getData(VectorExampleData.GeometryType type)
Returns list of all VectorExampleData with the same VectorExampleData.GeometryType.

Parameters:
type - VectorExampleData.GeometryType of the VectorExampleData, may be null.
Returns:
List of VectorExampleData with the same VectorExampleData.GeometryType. If the VectorExampleData.GeometryType is null, returns all VectorExampleData.

getData

public static LinkedList<VectorExampleData> getData(VectorExampleData.GeometryType type,
                                                    VectorExampleData[] without)
Returns list of all VectorExampleData with the same VectorExampleData.GeometryType and without some VectorExampleData.

Parameters:
type - - VectorExampleData.GeometryType of the VectorExampleData, may be null.
without - - Array of unwanted VectorExampleData, may be null.
Returns:
List of all VectorExampleData with the same VectorExampleData.GeometryType and without some VectorExampleData. If the Array of unwanted VectorExampleData is null, returns all {@link VectorExampleData} with the same {@link GeometryType}. If the {@link GeometryType} is additional null, returns all {@link VectorExampleData}. If the {@link GeometryType} is only null, returns all {@link VectorExampleData} without the {@link VectorExampleData} of the array.

getSchemaURL

public String getSchemaURL()
Returns the schema URL of the data.

Returns:
Schema URL of the data.

getEncoding

public String getEncoding()
Returns the encoding of the data.

Returns:
Encoding of the data.

getMimeType

public String getMimeType()
Returns the mime type of the data.

Returns:
Mime type of the data.

getURL

public URL getURL()
Returns the URL of the data file.

Returns:
URL of the data file.

getGMLVersion

public GMLVersion getGMLVersion()
Returns the GMLVersion of the data.

Returns:
GMLVersion of the data.

getFilename

public String getFilename()
Returns the filename of the data.

Returns:
filename of the data.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.