org.deegree.protocol.wps
Enum VectorExampleData.GeometryType

java.lang.Object
  extended by java.lang.Enum<VectorExampleData.GeometryType>
      extended by org.deegree.protocol.wps.VectorExampleData.GeometryType
All Implemented Interfaces:
Serializable, Comparable<VectorExampleData.GeometryType>
Enclosing class:
VectorExampleData

public static enum VectorExampleData.GeometryType
extends Enum<VectorExampleData.GeometryType>

This enumeration class contains all important geometry types like point, line, polygon, etc. for testing a SEXTANTE GeoAlgorithm. Some algorithms need only one type, other all types of data.

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

Enum Constant Summary
LINE
           
MIX
           
POINT
           
POLYGON
           
 
Method Summary
static VectorExampleData.GeometryType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static VectorExampleData.GeometryType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

POINT

public static final VectorExampleData.GeometryType POINT

LINE

public static final VectorExampleData.GeometryType LINE

POLYGON

public static final VectorExampleData.GeometryType POLYGON

MIX

public static final VectorExampleData.GeometryType MIX
Method Detail

values

public static VectorExampleData.GeometryType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (VectorExampleData.GeometryType c : VectorExampleData.GeometryType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static VectorExampleData.GeometryType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2011. All Rights Reserved.