gov.nasa.pds.objectAccess.array
Class ElementType

java.lang.Object
  extended by gov.nasa.pds.objectAccess.array.ElementType

public class ElementType
extends Object

Implements an object that represents the type of an array element.


Method Summary
 DataTypeAdapter getAdapter()
          Gets the data type adapter for the element type.
 int getSize()
          Gets the element size.
static ElementType getTypeForName(String typeName)
          Gets the element type for a given type name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTypeForName

public static ElementType getTypeForName(String typeName)
Gets the element type for a given type name.

Parameters:
typeName - the type name
Returns:
the element type for that type name

getSize

public int getSize()
Gets the element size.

Returns:
the number of bytes for the element

getAdapter

public DataTypeAdapter getAdapter()
Gets the data type adapter for the element type.

Returns:
the data type adapter


Copyright © 2013. All Rights Reserved.