GeoAPI 2.0
Build 2005-06-08

org.opengis.coverage.grid
Class ValueInBytePacking

Object
  extended by CodeList<ValueInBytePacking>
      extended by ValueInBytePacking
All Implemented Interfaces:
Serializable, Comparable<ValueInBytePacking>

@UML(identifier="GC_ValueInBytePacking",
     specification=OGC_01004)
public final class ValueInBytePacking
extends CodeList<ValueInBytePacking>

Order of values packed in a byte for sample dimensions with less than 8 bits. This include UNSIGNED_1BIT, UNSIGNED_2BITS and UNSIGNED_4BITS data types.

 

WARNING: THIS CLASS WILL CHANGE. Current API is derived from OGC Grid Coverages Implementation specification 1.0. We plan to replace it by new interfaces derived from ISO 19123 (Schema for coverage geometry and functions). Current interfaces should be considered as legacy and are included in this distribution only because they were part of GeoAPI 1.0 release. We will try to preserve as much compatibility as possible, but no migration plan has been determined yet.

Since:
GeoAPI 1.0
Version:
Grid Coverage specification 1.0
See Also:
GridPacking, ByteInValuePacking, Serialized Form

Field Summary
static ValueInBytePacking HI_BIT_FIRST
          High bit first (big endian order).
static ValueInBytePacking LO_BIT_FIRST
          Low bit firts (little endian order).
 
Constructor Summary
ValueInBytePacking(String name)
          Constructs an enum with the given name.
 
Method Summary
 ValueInBytePacking[] family()
          Returns the list of enumerations of the same kind than this enum.
static ValueInBytePacking[] values()
          Returns the list of ValueInBytePackings.
 
Methods inherited from class CodeList
compareTo, name, ordinal, readResolve, toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LO_BIT_FIRST

@UML(identifier="GC_LoBitFirst",
     obligation=CONDITIONAL,
     specification=OGC_01004)
public static final ValueInBytePacking LO_BIT_FIRST
Low bit firts (little endian order).


HI_BIT_FIRST

@UML(identifier="GC_HiBitFirst",
     obligation=CONDITIONAL,
     specification=OGC_01004)
public static final ValueInBytePacking HI_BIT_FIRST
High bit first (big endian order).

Constructor Detail

ValueInBytePacking

public ValueInBytePacking(String name)
Constructs an enum with the given name. The new enum is automatically added to the list returned by values().

Parameters:
name - The enum name. This name must not be in use by an other enum of this type.
Method Detail

values

public static ValueInBytePacking[] values()
Returns the list of ValueInBytePackings.


family

public ValueInBytePacking[] family()
Returns the list of enumerations of the same kind than this enum.

Specified by:
family in class CodeList<ValueInBytePacking>

GeoAPI 2.0
Build 2005-06-08

Symbols, terms and definitions
Copyright OpenGIS® Consortium