org.deegree.geometry
Enum Geometry.GeometryType

java.lang.Object
  extended by java.lang.Enum<Geometry.GeometryType>
      extended by org.deegree.geometry.Geometry.GeometryType
All Implemented Interfaces:
Serializable, Comparable<Geometry.GeometryType>
Enclosing interface:
Geometry

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

Convenience enum type for discriminating the different geometry variants.


Enum Constant Summary
COMPOSITE_GEOMETRY
          Composited geometry
ENVELOPE
          Envelope
MULTI_GEOMETRY
          Multi (aggregate) geometry
PRIMITIVE_GEOMETRY
          Primitive geometry
 
Method Summary
static Geometry.GeometryType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Geometry.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

ENVELOPE

public static final Geometry.GeometryType ENVELOPE
Envelope


PRIMITIVE_GEOMETRY

public static final Geometry.GeometryType PRIMITIVE_GEOMETRY
Primitive geometry


COMPOSITE_GEOMETRY

public static final Geometry.GeometryType COMPOSITE_GEOMETRY
Composited geometry


MULTI_GEOMETRY

public static final Geometry.GeometryType MULTI_GEOMETRY
Multi (aggregate) geometry

Method Detail

values

public static Geometry.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 (Geometry.GeometryType c : Geometry.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 Geometry.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.