gov.nasa.pds.search
Enum PDAPHandler.RESOURCE_CLASS

java.lang.Object
  extended by java.lang.Enum<PDAPHandler.RESOURCE_CLASS>
      extended by gov.nasa.pds.search.PDAPHandler.RESOURCE_CLASS
All Implemented Interfaces:
Serializable, Comparable<PDAPHandler.RESOURCE_CLASS>
Enclosing class:
PDAPHandler

public static enum PDAPHandler.RESOURCE_CLASS
extends Enum<PDAPHandler.RESOURCE_CLASS>


Enum Constant Summary
DATA_SET
           
MAP_PROJECTED
           
METADATA
           
PRODUCT
           
 
Method Summary
static PDAPHandler.RESOURCE_CLASS valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PDAPHandler.RESOURCE_CLASS[] 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

DATA_SET

public static final PDAPHandler.RESOURCE_CLASS DATA_SET

PRODUCT

public static final PDAPHandler.RESOURCE_CLASS PRODUCT

MAP_PROJECTED

public static final PDAPHandler.RESOURCE_CLASS MAP_PROJECTED

METADATA

public static final PDAPHandler.RESOURCE_CLASS METADATA
Method Detail

values

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

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

valueOf

public static PDAPHandler.RESOURCE_CLASS 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 © 2010–2014 Planetary Data System. All rights reserved.