ucar.nc2.ft.point.remote
Enum PointStream.MessageType

java.lang.Object
  extended by java.lang.Enum<PointStream.MessageType>
      extended by ucar.nc2.ft.point.remote.PointStream.MessageType
All Implemented Interfaces:
Serializable, Comparable<PointStream.MessageType>
Enclosing class:
PointStream

public static enum PointStream.MessageType
extends Enum<PointStream.MessageType>


Enum Constant Summary
Data
           
End
           
Eos
           
Error
           
Header
           
PointFeature
           
PointFeatureCollection
           
Start
           
StationList
           
 
Method Summary
static PointStream.MessageType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PointStream.MessageType[] 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

Start

public static final PointStream.MessageType Start

Header

public static final PointStream.MessageType Header

Data

public static final PointStream.MessageType Data

End

public static final PointStream.MessageType End

Error

public static final PointStream.MessageType Error

Eos

public static final PointStream.MessageType Eos

StationList

public static final PointStream.MessageType StationList

PointFeatureCollection

public static final PointStream.MessageType PointFeatureCollection

PointFeature

public static final PointStream.MessageType PointFeature
Method Detail

values

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

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

valueOf

public static PointStream.MessageType 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 © 1999-2011 UCAR/Unidata. All Rights Reserved.