ucar.nc2.constants
Enum CF.FeatureType

java.lang.Object
  extended by java.lang.Enum<CF.FeatureType>
      extended by ucar.nc2.constants.CF.FeatureType
All Implemented Interfaces:
Serializable, Comparable<CF.FeatureType>
Enclosing interface:
CF

public static enum CF.FeatureType
extends Enum<CF.FeatureType>

Start of map from CF feature type names to our FeatureType enums. Unofficial.


Enum Constant Summary
point
           
profile
           
timeSeries
           
timeSeriesProfile
           
trajectory
           
trajectoryProfile
           
 
Method Summary
static CF.FeatureType convert(FeatureType ft)
           
static CF.FeatureType getFeatureType(String s)
           
static CF.FeatureType getFeatureTypeFromGlobalAttribute(NetcdfFile ds)
           
static CF.FeatureType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CF.FeatureType[] 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 CF.FeatureType point

timeSeries

public static final CF.FeatureType timeSeries

profile

public static final CF.FeatureType profile

trajectory

public static final CF.FeatureType trajectory

timeSeriesProfile

public static final CF.FeatureType timeSeriesProfile

trajectoryProfile

public static final CF.FeatureType trajectoryProfile
Method Detail

values

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

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

valueOf

public static CF.FeatureType 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

convert

public static CF.FeatureType convert(FeatureType ft)

getFeatureType

public static CF.FeatureType getFeatureType(String s)

getFeatureTypeFromGlobalAttribute

public static CF.FeatureType getFeatureTypeFromGlobalAttribute(NetcdfFile ds)


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.