org.deegree.geometry.multi
Enum MultiGeometry.MultiGeometryType

java.lang.Object
  extended by java.lang.Enum<MultiGeometry.MultiGeometryType>
      extended by org.deegree.geometry.multi.MultiGeometry.MultiGeometryType
All Implemented Interfaces:
Serializable, Comparable<MultiGeometry.MultiGeometryType>
Enclosing interface:
MultiGeometry<T extends Geometry>

public static enum MultiGeometry.MultiGeometryType
extends Enum<MultiGeometry.MultiGeometryType>

Convenience enum type for discriminating the different types of multi geometries.


Enum Constant Summary
MULTI_CURVE
          Member geometries are Curve instances.
MULTI_GEOMETRY
          Generic multi geometry.
MULTI_LINE_STRING
          Member geometries are LineString instances.
MULTI_POINT
          Member geometries are Point instances.
MULTI_POLYGON
          Member geometries are Polygon instances.
MULTI_SOLID
          Member geometries are Solid instances.
MULTI_SURFACE
          Member geometries are Surface instances.
 
Method Summary
static MultiGeometry.MultiGeometryType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MultiGeometry.MultiGeometryType[] 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

MULTI_GEOMETRY

public static final MultiGeometry.MultiGeometryType MULTI_GEOMETRY
Generic multi geometry. Member geometries can be all kinds of Geometry instances.


MULTI_POINT

public static final MultiGeometry.MultiGeometryType MULTI_POINT
Member geometries are Point instances.


MULTI_CURVE

public static final MultiGeometry.MultiGeometryType MULTI_CURVE
Member geometries are Curve instances.


MULTI_LINE_STRING

public static final MultiGeometry.MultiGeometryType MULTI_LINE_STRING
Member geometries are LineString instances.


MULTI_SURFACE

public static final MultiGeometry.MultiGeometryType MULTI_SURFACE
Member geometries are Surface instances.


MULTI_POLYGON

public static final MultiGeometry.MultiGeometryType MULTI_POLYGON
Member geometries are Polygon instances.


MULTI_SOLID

public static final MultiGeometry.MultiGeometryType MULTI_SOLID
Member geometries are Solid instances.

Method Detail

values

public static MultiGeometry.MultiGeometryType[] 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 (MultiGeometry.MultiGeometryType c : MultiGeometry.MultiGeometryType.values())
    System.out.println(c);

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

valueOf

public static MultiGeometry.MultiGeometryType 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.